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

Unified Diff: components/autofill/content/browser/wallet/wallet_service_url.cc

Issue 288003004: provide a build time flag to enable connecting to production wallet servers by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: hinge on buildtype instead of branding 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 | « build/common.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/content/browser/wallet/wallet_service_url.cc
diff --git a/components/autofill/content/browser/wallet/wallet_service_url.cc b/components/autofill/content/browser/wallet/wallet_service_url.cc
index 310b9271685a15acafe9a2746d6dcdfeb5785674..8bd9926272a10f10725c6a45da5b545673a512b9 100644
--- a/components/autofill/content/browser/wallet/wallet_service_url.cc
+++ b/components/autofill/content/browser/wallet/wallet_service_url.cc
@@ -44,14 +44,9 @@ bool IsWalletProductionEnabled() {
if (command_line->HasSwitch(::switches::kReduceSecurityForTesting))
return false;
- // TODO(estade): add a build-time flag for Chromium distros to enable this
- // rather than checking for an official build. http://crbug.com/334088
-#if defined(GOOGLE_CHROME_BUILD)
- // Default to prod for official builds.
+#if defined(ENABLE_PROD_WALLET_SERVICE)
return true;
#else
- // Unofficial builds don't have the proper API keys for production Wallet
- // servers.
return false;
#endif
}
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698