| 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 1b3f2ab09ba21fce3528ebe2e3f123c9d688bf74..165c9e576cb93f55bd011e10e579e07490a42895 100644
|
| --- a/chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc
|
| +++ b/chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc
|
| @@ -25,6 +25,7 @@
|
| #include "content/public/browser/notification_observer.h"
|
| #include "content/public/browser/notification_registrar.h"
|
| #include "content/public/test/browser_test_utils.h"
|
| +#include "extensions/common/switches.h"
|
| #include "gpu/config/gpu_feature_type.h"
|
| #include "gpu/config/gpu_info.h"
|
| #include "net/dns/mock_host_resolver.h"
|
| @@ -96,7 +97,7 @@ class ExtensionWebstorePrivateApiTest : public ExtensionApiTest {
|
| switches::kAppsGalleryURL,
|
| "http://www.example.com/files/extensions/api_test");
|
| command_line->AppendSwitchASCII(
|
| - switches::kAppsGalleryInstallAutoConfirmForTests, "accept");
|
| + ::switches::kAppsGalleryInstallAutoConfirmForTests, "accept");
|
| }
|
|
|
| virtual void SetUpInProcessBrowserTestFixture() OVERRIDE {
|
| @@ -132,7 +133,7 @@ class ExtensionWebstorePrivateApiTest : public ExtensionApiTest {
|
| #else
|
| GURL crx_url = GetTestServerURL(crx_file);
|
| CommandLine::ForCurrentProcess()->AppendSwitchASCII(
|
| - switches::kAppsGalleryUpdateURL, crx_url.spec());
|
| + ::switches::kAppsGalleryUpdateURL, crx_url.spec());
|
|
|
| GURL page_url = GetTestServerURL(page);
|
| return RunPageTest(page_url.spec());
|
| @@ -209,7 +210,7 @@ IN_PROC_BROWSER_TEST_F(ExtensionWebstorePrivateApiTest, InstallLocalized) {
|
| // Now test the case where the user cancels the confirmation dialog.
|
| IN_PROC_BROWSER_TEST_F(ExtensionWebstorePrivateApiTest, InstallCancelled) {
|
| CommandLine::ForCurrentProcess()->AppendSwitchASCII(
|
| - switches::kAppsGalleryInstallAutoConfirmForTests, "cancel");
|
| + ::switches::kAppsGalleryInstallAutoConfirmForTests, "cancel");
|
| ASSERT_TRUE(RunInstallTest("cancelled.html", "extension.crx"));
|
| }
|
|
|
|
|