diff options
author | michaelbai@chromium.org <michaelbai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-01 17:54:13 +0000 |
---|---|---|
committer | michaelbai@chromium.org <michaelbai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-01 17:54:13 +0000 |
commit | 32e2d4aacf5d229b8a1093b65be843b5bdb108f1 (patch) | |
tree | f80d4e4ef85587baf5fa46614626f1fffd6d1d9a /android_webview/lib | |
parent | 9add968b325d9dc9c46276fa0de34df5777d0887 (diff) | |
download | chromium_src-32e2d4aacf5d229b8a1093b65be843b5bdb108f1.zip chromium_src-32e2d4aacf5d229b8a1093b65be843b5bdb108f1.tar.gz chromium_src-32e2d4aacf5d229b8a1093b65be843b5bdb108f1.tar.bz2 |
This patch is also implements the general permission request.
- AwPermissionRequest wraps a permission request.
- AwPermissionRequestDelegate interface should be implemented by specific permission request like media access permission request.
- PermissionRequestHandler, send the request to AwContentsClient or Cancel a ongoing request.
NOTRY=true
BUG=363301
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267495
Review URL: https://codereview.chromium.org/239793002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267576 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/lib')
-rw-r--r-- | android_webview/lib/main/webview_tests.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/android_webview/lib/main/webview_tests.cc b/android_webview/lib/main/webview_tests.cc index 2c8d29c..08109fe 100644 --- a/android_webview/lib/main/webview_tests.cc +++ b/android_webview/lib/main/webview_tests.cc @@ -2,8 +2,11 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "android_webview/native/android_webview_jni_registrar.h" +#include "base/android/jni_android.h" #include "base/test/test_suite.h" int main(int argc, char** argv) { + android_webview::RegisterJni(base::android::AttachCurrentThread()); return base::TestSuite(argc, argv).Run(); } |