Commit d0e941c5 authored by ramankk@chromium.org's avatar ramankk@chromium.org

Talk to production wallet server when Autocheckout experiment is enabled

BUG=232075

Review URL: https://chromiumcodereview.appspot.com/16749002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207904 0039d316-1c4b-4281-b951-d872f2087c98
parent be4f609a
...@@ -29,7 +29,8 @@ const char kSandboxWalletSecureServiceUrl[] = ...@@ -29,7 +29,8 @@ const char kSandboxWalletSecureServiceUrl[] =
bool IsWalletProductionEnabled() { bool IsWalletProductionEnabled() {
const CommandLine& command_line = *CommandLine::ForCurrentProcess(); const CommandLine& command_line = *CommandLine::ForCurrentProcess();
return command_line.HasSwitch(switches::kWalletServiceUseProd) || return command_line.HasSwitch(switches::kWalletServiceUseProd) ||
base::FieldTrialList::FindFullName("WalletProductionService") == "Yes"; base::FieldTrialList::FindFullName("WalletProductionService") == "Yes" ||
base::FieldTrialList::FindFullName("Autocheckout") == "Yes";
} }
GURL GetWalletHostUrl() { GURL GetWalletHostUrl() {
......
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