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

Unified Diff: chrome/browser/password_manager/chrome_password_manager_client.cc

Issue 276523003: Password bubble: Explicitly disable on non-Aura platforms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/password_manager/chrome_password_manager_client.cc
diff --git a/chrome/browser/password_manager/chrome_password_manager_client.cc b/chrome/browser/password_manager/chrome_password_manager_client.cc
index 31329aafa90052d833a1744f837732ed210a56fd..ecb7aa39ac50e18097d5499d9ee291cf0da07619 100644
--- a/chrome/browser/password_manager/chrome_password_manager_client.cc
+++ b/chrome/browser/password_manager/chrome_password_manager_client.cc
@@ -36,9 +36,9 @@
namespace {
bool IsTheHotNewBubbleUIEnabled() {
- std::string group_name =
- base::FieldTrialList::FindFullName("PasswordManagerUI");
-
+#if !defined(USE_AURA)
+ return false;
+#endif
CommandLine* command_line = CommandLine::ForCurrentProcess();
if (command_line->HasSwitch(switches::kDisableSavePasswordBubble))
return false;
@@ -46,6 +46,8 @@ bool IsTheHotNewBubbleUIEnabled() {
if (command_line->HasSwitch(switches::kEnableSavePasswordBubble))
return true;
+ std::string group_name =
+ base::FieldTrialList::FindFullName("PasswordManagerUI");
return group_name == "Bubble";
}
« 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