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

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

Issue 12092089: Display an info banner on the clear browsing data dialog if the browsing data was cleared within th… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments round 2 from James. Created 7 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/ui/browser_ui_prefs.cc
diff --git a/chrome/browser/ui/browser_ui_prefs.cc b/chrome/browser/ui/browser_ui_prefs.cc
index 6e945e41e92de550df3e6e23096748517488011b..4091e6e6cad38005e4a6a173c2b8e7842e11eed5 100644
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
@@ -68,6 +68,9 @@ void RegisterBrowserUserPrefs(PrefServiceSyncable* prefs) {
prefs->RegisterIntegerPref(prefs::kDeleteTimePeriod,
0,
PrefServiceSyncable::SYNCABLE_PREF);
+ prefs->RegisterInt64Pref(prefs::kLastClearBrowsingDataTime,
+ 0,
+ PrefServiceSyncable::UNSYNCABLE_PREF);
prefs->RegisterBooleanPref(prefs::kCheckDefaultBrowser,
true,
PrefServiceSyncable::UNSYNCABLE_PREF);

Powered by Google App Engine
This is Rietveld 408576698