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

Unified Diff: chrome/browser/android/search_geolocation/search_geolocation_service.cc

Issue 2633103002: Add a unittest for SearchGeolocationService (Closed)
Patch Set: Add a unittest for SearchGeolocationService Created 3 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
Index: chrome/browser/android/search_geolocation/search_geolocation_service.cc
diff --git a/chrome/browser/android/search_geolocation/search_geolocation_service.cc b/chrome/browser/android/search_geolocation/search_geolocation_service.cc
index 30a5c44ea08110d3a3dc4de888b7f69b943c68da..7977997bc388d14e5911407c73c86ad6cbbe28a9 100644
--- a/chrome/browser/android/search_geolocation/search_geolocation_service.cc
+++ b/chrome/browser/android/search_geolocation/search_geolocation_service.cc
@@ -125,8 +125,7 @@ KeyedService* SearchGeolocationService::Factory::BuildServiceInstanceFor(
return new SearchGeolocationService(Profile::FromBrowserContext(context));
}
-// static
-void SearchGeolocationService::RegisterProfilePrefs(
+void SearchGeolocationService::Factory::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) {
registry->RegisterDictionaryPref(prefs::kGoogleDSEGeolocationSetting);
}

Powered by Google App Engine
This is Rietveld 408576698