diff options
author | michaelbai@chromium.org <michaelbai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-01 08:52:51 +0000 |
---|---|---|
committer | michaelbai@chromium.org <michaelbai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-01 08:52:51 +0000 |
commit | 449557fe897b5d7a46f76c2398d2ae1d41ca3607 (patch) | |
tree | 0fb704e89b07fdaad4574735b3f3a3bfa62ff6b3 /android_webview/lib | |
parent | 3ebabcd8e58598d280c6d1a8b50dfba058affb18 (diff) | |
download | chromium_src-449557fe897b5d7a46f76c2398d2ae1d41ca3607.zip chromium_src-449557fe897b5d7a46f76c2398d2ae1d41ca3607.tar.gz chromium_src-449557fe897b5d7a46f76c2398d2ae1d41ca3607.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
Review URL: https://codereview.chromium.org/239793002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267495 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(); } |