Chromium Code Reviews| 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 |