| Index: chrome/browser/download/download_browsertest.cc
|
| ===================================================================
|
| --- chrome/browser/download/download_browsertest.cc (revision 137574)
|
| +++ chrome/browser/download/download_browsertest.cc (working copy)
|
| @@ -40,7 +40,6 @@
|
| #include "chrome/browser/ui/browser_window.h"
|
| #include "chrome/common/chrome_notification_types.h"
|
| #include "chrome/common/chrome_paths.h"
|
| -#include "chrome/common/extensions/extension_switch_utils.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/common/url_constants.h"
|
| #include "chrome/test/base/in_process_browser_test.h"
|
| @@ -1654,9 +1653,6 @@
|
| // Download an extension. Expect a dangerous download warning.
|
| // Deny the download.
|
| IN_PROC_BROWSER_TEST_F(DownloadTest, CrxDenyInstall) {
|
| - if (!extensions::switch_utils::IsOffStoreInstallEnabled())
|
| - return;
|
| -
|
| GURL extension_url(URLRequestMockHTTPJob::GetMockUrl(kGoodCrxPath));
|
|
|
| scoped_ptr<DownloadTestObserver> observer(
|
| @@ -1681,9 +1677,6 @@
|
| // Download an extension. Expect a dangerous download warning.
|
| // Allow the download, deny the install.
|
| IN_PROC_BROWSER_TEST_F(DownloadTest, CrxInstallDenysPermissions) {
|
| - if (!extensions::switch_utils::IsOffStoreInstallEnabled())
|
| - return;
|
| -
|
| GURL extension_url(URLRequestMockHTTPJob::GetMockUrl(kGoodCrxPath));
|
|
|
| // Install a mock install UI that simulates a user denying permission to
|
| @@ -1714,9 +1707,6 @@
|
| // Download an extension. Expect a dangerous download warning.
|
| // Allow the download, and the install.
|
| IN_PROC_BROWSER_TEST_F(DownloadTest, CrxInstallAcceptPermissions) {
|
| - if (!extensions::switch_utils::IsOffStoreInstallEnabled())
|
| - return;
|
| -
|
| GURL extension_url(URLRequestMockHTTPJob::GetMockUrl(kGoodCrxPath));
|
|
|
| // Install a mock install UI that simulates a user allowing permission to
|
| @@ -1773,9 +1763,6 @@
|
|
|
| // Install a large (100kb) theme.
|
| IN_PROC_BROWSER_TEST_F(DownloadTest, CrxLargeTheme) {
|
| - if (!extensions::switch_utils::IsOffStoreInstallEnabled())
|
| - return;
|
| -
|
| GURL extension_url(URLRequestMockHTTPJob::GetMockUrl(kLargeThemePath));
|
|
|
| // Install a mock install UI that simulates a user allowing permission to
|
|
|