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

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

Issue 762723003: Prefix CommandLine usage with base namespace (Part 8: components) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
Index: components/autofill/content/browser/wallet/wallet_service_url_unittest.cc
diff --git a/components/autofill/content/browser/wallet/wallet_service_url_unittest.cc b/components/autofill/content/browser/wallet/wallet_service_url_unittest.cc
index d2f562d59ab9954dee74172c16f6315c70fd987c..de289e668e692ae0812be235c0f9ba3e070b5a5a 100644
--- a/components/autofill/content/browser/wallet/wallet_service_url_unittest.cc
+++ b/components/autofill/content/browser/wallet/wallet_service_url_unittest.cc
@@ -13,7 +13,7 @@ namespace autofill {
namespace wallet {
TEST(WalletServiceSandboxUrl, CheckSandboxUrls) {
- CommandLine::ForCurrentProcess()->AppendSwitchASCII(
+ base::CommandLine::ForCurrentProcess()->AppendSwitchASCII(
switches::kWalletServiceUseSandbox, "1");
EXPECT_EQ(
@@ -50,7 +50,7 @@ TEST(WalletServiceSandboxUrl, CheckSandboxUrls) {
}
TEST(WalletServiceSandboxUrl, CheckProdUrls) {
- CommandLine::ForCurrentProcess()->AppendSwitchASCII(
+ base::CommandLine::ForCurrentProcess()->AppendSwitchASCII(
switches::kWalletServiceUseSandbox, "0");
EXPECT_EQ("https://wallet.google.com/online/v2/u/1/wallet/"
@@ -91,7 +91,7 @@ TEST(WalletServiceUrl, DefaultsToProd) {
EXPECT_FALSE(IsUsingProd());
#endif
- CommandLine* command_line = CommandLine::ForCurrentProcess();
+ base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
command_line->AppendSwitch(::switches::kReduceSecurityForTesting);
EXPECT_FALSE(IsUsingProd());
@@ -100,7 +100,7 @@ TEST(WalletServiceUrl, DefaultsToProd) {
}
TEST(WalletServiceUrl, IsUsingProd) {
- CommandLine* command_line = CommandLine::ForCurrentProcess();
+ base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
command_line->AppendSwitchASCII(switches::kWalletServiceUseSandbox, "1");
EXPECT_FALSE(IsUsingProd());
@@ -117,7 +117,7 @@ TEST(WalletServiceUrl, IsUsingProd) {
TEST(WalletServiceUrl, IsSignInContinueUrl) {
EXPECT_TRUE(GetSignInContinueUrl().SchemeIsSecure());
- CommandLine* command_line = CommandLine::ForCurrentProcess();
+ base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
command_line->AppendSwitchASCII(switches::kWalletServiceUseSandbox, "1");
// authuser query param is respected.

Powered by Google App Engine
This is Rietveld 408576698