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

Unified Diff: chrome/browser/prefs/browser_prefs.cc

Issue 1776373002: [Extensions] Remove unused parts of the preferencesPrivate API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean Up Prefs Created 4 years, 9 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/prefs/browser_prefs.cc
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index d4fd972a213407749a196207f008dc4a91168884..2780f62f5ac6274a6e9186c37a99ff7f5201e169 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -275,6 +275,12 @@ const char kOverscrollVerticalResistThreshold[] =
"overscroll.vertical_resist_threshold";
#endif // defined(USE_AURA)
+#if BUILDFLAG(ENABLE_GOOGLE_NOW)
+// Deprecated 3/2016
+const char kGoogleGeolocationAccessEnabled[] =;
+ "googlegeolocationaccess.enabled";
+#endif
+
} // namespace
namespace chrome {
@@ -663,6 +669,11 @@ void MigrateObsoleteProfilePrefs(Profile* profile) {
profile_prefs->ClearPref(kOverscrollHorizontalResistThreshold);
profile_prefs->ClearPref(kOverscrollVerticalResistThreshold);
#endif // defined(USE_AURA)
+
+#if BUILDFLAG(ENABLE_GOOGLE_NOW)
+ // Added 3/2016.
+ profile_prefs->ClearPref(kGoogleGeolocationAccessEnabled);
gab 2016/03/14 20:57:36 From its location in pref_names.cc I gather that t
Devlin 2016/03/14 21:19:52 Detangling this pref is kind of a pain, but I thin
gab 2016/03/15 01:20:29 Ah ok, that sounds right then, had only based my r
+#endif
}
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698