| Index: chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc
|
| diff --git a/chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc b/chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc
|
| index d429cd17f0b60e3ebe655c5db5cb4732fff084a7..b96d23e868b144bfefaf116a0f3f2e8987cc4345 100644
|
| --- a/chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc
|
| +++ b/chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc
|
| @@ -96,7 +96,7 @@ class ExtensionWebstorePrivateApiTest : public ExtensionApiTest {
|
| ExtensionWebstorePrivateApiTest() {}
|
| ~ExtensionWebstorePrivateApiTest() override {}
|
|
|
| - void SetUpCommandLine(CommandLine* command_line) override {
|
| + void SetUpCommandLine(base::CommandLine* command_line) override {
|
| ExtensionApiTest::SetUpCommandLine(command_line);
|
| command_line->AppendSwitchASCII(
|
| switches::kAppsGalleryURL,
|
| @@ -155,7 +155,7 @@ class ExtensionWebstorePrivateApiTest : public ExtensionApiTest {
|
| return true;
|
| #else
|
| GURL crx_url = GetTestServerURL(crx_file);
|
| - CommandLine::ForCurrentProcess()->AppendSwitchASCII(
|
| + base::CommandLine::ForCurrentProcess()->AppendSwitchASCII(
|
| switches::kAppsGalleryUpdateURL, crx_url.spec());
|
|
|
| GURL page_url = GetTestServerURL(page);
|
| @@ -407,7 +407,7 @@ class EphemeralAppWebstorePrivateApiTest
|
| "http://www.example.com:%d/files/extensions/platform_apps/"
|
| "ephemeral_launcher",
|
| host_port.port());
|
| - CommandLine::ForCurrentProcess()->AppendSwitchASCII(
|
| + base::CommandLine::ForCurrentProcess()->AppendSwitchASCII(
|
| switches::kAppsGalleryURL, test_gallery_url);
|
| }
|
|
|
| @@ -421,16 +421,16 @@ class EphemeralAppWebstorePrivateApiTest
|
| // Run tests when the --enable-ephemeral-apps switch is not enabled.
|
| IN_PROC_BROWSER_TEST_F(EphemeralAppWebstorePrivateApiTest,
|
| EphemeralAppsFeatureDisabled) {
|
| - CommandLine::ForCurrentProcess()->AppendSwitch(
|
| + base::CommandLine::ForCurrentProcess()->AppendSwitch(
|
| app_list::switches::kDisableExperimentalAppList);
|
| ASSERT_TRUE(RunInstallTest("webstore_launch_disabled.html", "app.crx"));
|
| }
|
|
|
| // Run tests when the --enable-ephemeral-apps switch is enabled.
|
| IN_PROC_BROWSER_TEST_F(EphemeralAppWebstorePrivateApiTest, LaunchEphemeralApp) {
|
| - CommandLine::ForCurrentProcess()->AppendSwitch(
|
| + base::CommandLine::ForCurrentProcess()->AppendSwitch(
|
| switches::kEnableEphemeralAppsInWebstore);
|
| - CommandLine::ForCurrentProcess()->AppendSwitch(
|
| + base::CommandLine::ForCurrentProcess()->AppendSwitch(
|
| app_list::switches::kEnableExperimentalAppList);
|
| ASSERT_TRUE(RunInstallTest("webstore_launch_app.html", "app.crx"));
|
| }
|
|
|