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

Unified Diff: chrome/browser/ui/gesture_prefs_observer_factory_aura.cc

Issue 162193002: Remove gesture.config_is_trustworthy pref (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « no previous file | chrome/common/pref_names.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gesture_prefs_observer_factory_aura.cc
diff --git a/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc b/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc
index 1e73273242169a4012f44829fa5a89f41504cb9d..36e7e4ffb23fad62f06eac0158817a86da59b5ee 100644
--- a/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc
+++ b/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc
@@ -140,10 +140,6 @@ GesturePrefsObserver::GesturePrefsObserver(PrefService* prefs)
// Clear for migration.
prefs->ClearPref(kMinScrollSuccessiveVelocityEvents);
- // Clear temporary pref gesture.config_is_trustworthy, so that in M33, we can
- // remove it completely: crbug.com/269292.
- prefs->ClearPref(prefs::kGestureConfigIsTrustworthy);
-
registrar_.Init(prefs);
registrar_.RemoveAll();
base::Closure callback = base::Bind(&GesturePrefsObserver::Update,
@@ -449,12 +445,6 @@ void GesturePrefsObserverFactoryAura::RegisterProfilePrefs(
RegisterOverscrollPrefs(registry);
RegisterFlingCurveParameters(registry);
-
- // Register pref for a one-time wipe of all gesture preferences.
- registry->RegisterBooleanPref(
- prefs::kGestureConfigIsTrustworthy,
- false,
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
}
bool
« no previous file with comments | « no previous file | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698