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

Unified Diff: chrome/browser/profiles/profile.cc

Issue 1505913003: Add update menu item and app menu icon badge (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years 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/profiles/profile.cc
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
index 18bc6df4a12dc9e91f1da627485ad89d447e196f..0924c3557a9eea5b27968fd2a5477c07e5ec698d 100644
--- a/chrome/browser/profiles/profile.cc
+++ b/chrome/browser/profiles/profile.cc
@@ -146,6 +146,12 @@ void Profile::RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
// Preferences related to the avatar bubble and user manager tutorials.
registry->RegisterIntegerPref(prefs::kProfileAvatarTutorialShown, 0);
#endif
+
+#if defined(OS_ANDROID)
+ registry->RegisterBooleanPref(
anthonyvd 2015/12/15 14:43:22 nit: I think this fits on a single line.
Theresa 2015/12/15 18:10:36 Done.
+ prefs::kClickedUpdateMenuItem,
+ false);
+#endif
}
std::string Profile::GetDebugName() {

Powered by Google App Engine
This is Rietveld 408576698