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

Unified Diff: chrome/browser/geolocation/geolocation_permission_context_android.cc

Issue 850813002: Upstream Site Settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@location_settings_singleton
Patch Set: use findbugs annotations; fix test Created 5 years, 11 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
« no previous file with comments | « chrome/browser/android/preferences/website_preference_bridge.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/geolocation/geolocation_permission_context_android.cc
diff --git a/chrome/browser/geolocation/geolocation_permission_context_android.cc b/chrome/browser/geolocation/geolocation_permission_context_android.cc
index f02c841cabb6ae6228c91f82ee0d5558dcd8d1be..0594d27f0e495bf7c51c2119dae6c3ef20f84997 100644
--- a/chrome/browser/geolocation/geolocation_permission_context_android.cc
+++ b/chrome/browser/geolocation/geolocation_permission_context_android.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/geolocation/geolocation_permission_context_android.h"
#include "base/prefs/pref_service.h"
+#include "chrome/browser/android/app_google_location_settings_helper.h"
#include "chrome/browser/android/google_location_settings_helper.h"
#include "chrome/browser/profiles/profile.h"
#include "content/public/browser/browser_thread.h"
@@ -19,8 +20,7 @@ PermissionRequestInfo::PermissionRequestInfo()
GeolocationPermissionContextAndroid::
GeolocationPermissionContextAndroid(Profile* profile)
: GeolocationPermissionContext(profile),
- google_location_settings_helper_(
- GoogleLocationSettingsHelper::Create()),
+ google_location_settings_helper_(new AppGoogleLocationSettingsHelper()),
weak_factory_(this) {
}
« no previous file with comments | « chrome/browser/android/preferences/website_preference_bridge.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698