Commit ef2c674e authored by groby@chromium.org's avatar groby@chromium.org

[rAC, OSX] Default to prod wallet.

R=estade@chromium.org
BUG=none

Review URL: https://codereview.chromium.org/100103002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238437 0039d316-1c4b-4281-b951-d872f2087c98
parent 91abb92c
......@@ -2173,15 +2173,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,
......
......@@ -35,11 +35,7 @@ bool IsWalletProductionEnabled() {
command_line->GetSwitchValueASCII(switches::kWalletServiceUseSandbox));
if (!sandbox_enabled.empty())
return sandbox_enabled != "1";
#if defined(OS_MACOSX)
return false;
#else
return true;
#endif
}
GURL GetWalletHostUrl() {
......
......@@ -81,11 +81,7 @@ TEST(WalletServiceSandboxUrl, CheckProdUrls) {
}
TEST(WalletServiceUrl, IsUsingProd) {
#if defined(OS_MACOSX)
EXPECT_FALSE(IsUsingProd());
#else
EXPECT_TRUE(IsUsingProd());
#endif
CommandLine* command_line = CommandLine::ForCurrentProcess();
command_line->AppendSwitchASCII(switches::kWalletServiceUseSandbox, "1");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment