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

Unified Diff: components/browsing_data/core/pref_names.cc

Issue 2646313005: Implement additional parts of the new ui for CBD. (Closed)
Patch Set: remove linearlayout Created 3 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
« no previous file with comments | « components/browsing_data/core/pref_names.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/browsing_data/core/pref_names.cc
diff --git a/components/browsing_data/core/pref_names.cc b/components/browsing_data/core/pref_names.cc
index 4ff2416aed84ef0cff9e4b9174d35c097a4cd2b2..87a39cbece7b0a999c81222e5fc46bf5604bb079 100644
--- a/components/browsing_data/core/pref_names.cc
+++ b/components/browsing_data/core/pref_names.cc
@@ -28,6 +28,7 @@ const char kLastClearBrowsingDataTime[] =
"browser.last_clear_browsing_data_time";
const char kClearBrowsingDataHistoryNoticeShownTimes[] =
"browser.clear_data.history_notice_shown_times";
+const char kLastClearBrowsingDataTab[] = "browser.last_clear_browsing_data_tab";
void RegisterBrowserUserPrefs(user_prefs::PrefRegistrySyncable* registry) {
registry->RegisterIntegerPref(
@@ -63,6 +64,12 @@ void RegisterBrowserUserPrefs(user_prefs::PrefRegistrySyncable* registry) {
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
registry->RegisterInt64Pref(prefs::kLastClearBrowsingDataTime, 0);
#endif // !defined(OS_IOS)
+
+#if defined(OS_ANDROID)
+ registry->RegisterIntegerPref(
+ kLastClearBrowsingDataTab, 0,
+ user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
+#endif
}
} // namespace prefs
« no previous file with comments | « components/browsing_data/core/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698