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

Unified Diff: chrome/common/chrome_switches.cc

Issue 1313383006: Don't compile save_password_infobar_delegate.cc everywhere but Mac and Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Exclude kEnableSavePasswordBubble/kDisableSavePasswordBubble definitions on Aura platforms Created 5 years, 3 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
« chrome/common/chrome_switches.h ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 1d1e140a327d12d7e1a38ea5c1cdfc467faece4a..9355f7d4e0171cfba427326621ea047146633a26 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -328,9 +328,6 @@ const char kDisableQuic[] = "disable-quic";
// This only has an effect if QUIC protocol is enabled.
const char kDisableQuicPortSelection[] = "disable-quic-port-selection";
-// Prevents the save password bubble from being enabled.
-const char kDisableSavePasswordBubble[] = "disable-save-password-bubble";
-
// Prevents SDCH persistence from being used.
const char kDisableSdchPersistence[] = "disable-sdch-persistence";
@@ -519,9 +516,6 @@ const char kEnableQuic[] = "enable-quic";
// This only has an effect if QUIC protocol is enabled.
const char kEnableQuicPortSelection[] = "enable-quic-port-selection";
-// Enables save password prompt bubble.
-const char kEnableSavePasswordBubble[] = "enable-save-password-bubble";
-
// Enables SDCH persistence.
const char kEnableSdchPersistence[] = "enable-sdch-persistence";
@@ -1170,6 +1164,14 @@ const char kProgressBarAnimation[] = "progress-bar-animation";
const char kOpenAsh[] = "open-ash";
#endif
+#if !defined(USE_AURA)
+// Prevents the save password bubble from being enabled.
+const char kDisableSavePasswordBubble[] = "disable-save-password-bubble";
+
+// Enables save password prompt bubble.
+const char kEnableSavePasswordBubble[] = "enable-save-password-bubble";
Peter Kasting 2015/09/09 20:27:01 Nit: Remove extra spaces
ki.stfu 2015/09/10 18:21:00 Done.
+#endif
+
#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_CHROMEOS)
// These flags show the man page on Linux. They are equivalent to each
// other.
« chrome/common/chrome_switches.h ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698