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

Unified Diff: chrome/browser/banners/app_banner_settings_helper.cc

Issue 2806213002: Update the app banner action button to display "add" by default. (Closed)
Patch Set: Created 3 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/banners/app_banner_settings_helper.cc
diff --git a/chrome/browser/banners/app_banner_settings_helper.cc b/chrome/browser/banners/app_banner_settings_helper.cc
index 2898939505149379e8381e3ca499f0e0f23250d2..a795a6c245ca98929104589f2caa37a4f6c7f7dd 100644
--- a/chrome/browser/banners/app_banner_settings_helper.cc
+++ b/chrome/browser/banners/app_banner_settings_helper.cc
@@ -401,7 +401,7 @@ AppBannerSettingsHelper::GetHomescreenLanguageOption() {
if (param.empty() || !base::StringToUint(param, &language_option) ||
language_option < LANGUAGE_OPTION_MIN ||
language_option > LANGUAGE_OPTION_MAX) {
- return LANGUAGE_OPTION_DEFAULT;
+ return LANGUAGE_OPTION_ADD;
}
return static_cast<LanguageOption>(language_option);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698