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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc

Issue 100103002: [rAC, OSX] Default to prod wallet. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit tests. Created 7 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
« no previous file with comments | « no previous file | components/autofill/content/browser/wallet/wallet_service_url.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
index 98a6e04a68e40a9b364cc04836ff7e53b3231c48..e43712d71ae96d491a2be966e45878c1c4139972 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
@@ -2170,15 +2170,9 @@ TEST_F(AutofillDialogControllerTest, NotProdNotification) {
"",
command_line->GetSwitchValueASCII(switches::kWalletServiceUseSandbox));
-#if defined(OS_MACOSX)
- // Default on Mac is to use sandbox (which shows a warning).
- EXPECT_EQ(1U,
- NotificationsOfType(DialogNotification::DEVELOPER_WARNING).size());
-#else
- // Default everywhere else is to use prod (no warning).
+ // Default everywhere is to use prod (no warning).
EXPECT_EQ(0U,
NotificationsOfType(DialogNotification::DEVELOPER_WARNING).size());
-#endif
command_line->AppendSwitchASCII(switches::kWalletServiceUseSandbox, "1");
EXPECT_EQ(1U,
« no previous file with comments | « no previous file | components/autofill/content/browser/wallet/wallet_service_url.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698