Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Unified Diff: chrome/test/base/chrome_test_suite.cc

Issue 11186010: Update geolocation infobar to handle Android system settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updates Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/base/chrome_test_suite.cc
diff --git a/chrome/test/base/chrome_test_suite.cc b/chrome/test/base/chrome_test_suite.cc
index f348af65c87c4c3cd6fbe83771d15e349f71c0b0..bd45825a7e0b009b691714da2e8e307692fd6af8 100644
--- a/chrome/test/base/chrome_test_suite.cc
+++ b/chrome/test/base/chrome_test_suite.cc
@@ -33,6 +33,7 @@
#if defined(OS_ANDROID)
#include "base/android/jni_android.h"
+#include "chrome/browser/android/chrome_jni_registrar.h"
#include "net/android/net_jni_registrar.h"
#endif
@@ -190,6 +191,7 @@ void ChromeTestSuite::Initialize() {
#if defined(OS_ANDROID)
// Register JNI bindings for android.
net::android::RegisterJni(base::android::AttachCurrentThread());
+ chrome::android::RegisterJni(base::android::AttachCurrentThread());
#endif
chrome::RegisterPathProvider();

Powered by Google App Engine
This is Rietveld 408576698