| Index: chrome/browser/policy/policy_browsertest.cc
|
| diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
|
| index 2f13d0854ec5a449ce7e1e58a7cb285b209310e3..46b37607f9ee3a438305d9213849fdc9191af5f9 100644
|
| --- a/chrome/browser/policy/policy_browsertest.cc
|
| +++ b/chrome/browser/policy/policy_browsertest.cc
|
| @@ -1748,8 +1748,8 @@ IN_PROC_BROWSER_TEST_F(PolicyTest, ExtensionAllowedTypes) {
|
| #define MAYBE_ExtensionInstallSources ExtensionInstallSources
|
| #endif
|
| IN_PROC_BROWSER_TEST_F(PolicyTest, MAYBE_ExtensionInstallSources) {
|
| - CommandLine::ForCurrentProcess()->AppendSwitchASCII(
|
| - switches::kAppsGalleryInstallAutoConfirmForTests, "accept");
|
| + ExtensionInstallPrompt::g_auto_confirm_for_tests =
|
| + ExtensionInstallPrompt::ACCEPT;
|
|
|
| const GURL install_source_url(URLRequestMockHTTPJob::GetMockUrl(
|
| base::FilePath(FILE_PATH_LITERAL("extensions/*"))));
|
|
|