Commit 65cbc05f authored by mohsen@chromium.org's avatar mohsen@chromium.org

Remove gesture.config_is_trustworthy pref

gesture.config_is_trustworthy pref is a temporary flag added in M30 to
do a one-time wipe of gesture config prefs. After two milestones, the
prefs should have been wiped for a good majority of users. So, the flag
is not needed anymore.

BUG=269292

Review URL: https://codereview.chromium.org/162193002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251293 0039d316-1c4b-4281-b951-d872f2087c98
parent 4f4b60e6
......@@ -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
......
......@@ -2573,11 +2573,6 @@ const char kOverscrollHorizontalResistThreshold[] =
"overscroll.horizontal_resist_threshold";
const char kOverscrollVerticalResistThreshold[] =
"overscroll.vertical_resist_threshold";
// TODO(mohsen): Remove following pref in M33. By then, it will have been
// cleared from preferences file for majority of users and it will be ready to
// be removed: crbug.com/269292.
// A temporary pref to do a one-time wipe of gesture preferences.
const char kGestureConfigIsTrustworthy[] = "gesture.config_is_trustworthy";
#endif
// Counts how many more times the 'profile on a network share' warning should be
......
......@@ -903,7 +903,6 @@ extern const char kOverscrollMinimumThresholdStartTouchpad[];
extern const char kOverscrollVerticalThresholdStart[];
extern const char kOverscrollHorizontalResistThreshold[];
extern const char kOverscrollVerticalResistThreshold[];
extern const char kGestureConfigIsTrustworthy[];
#endif
extern const char kNetworkProfileWarningsLeft[];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment