summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_cookies_apitest.cc
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-16 01:08:29 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-16 01:08:29 +0000
commitea23b230a6c97b0dc8db64b907ed365ce22e7a76 (patch)
tree29ac4b1f35326e7ce58812e414e13c8cd89c4e14 /chrome/browser/extensions/extension_cookies_apitest.cc
parent6451d8737f7c36dda01ace43d450f425598daf91 (diff)
downloadchromium_src-ea23b230a6c97b0dc8db64b907ed365ce22e7a76.zip
chromium_src-ea23b230a6c97b0dc8db64b907ed365ce22e7a76.tar.gz
chromium_src-ea23b230a6c97b0dc8db64b907ed365ce22e7a76.tar.bz2
Revert r52581. The change seems OK, but it had the wrong
description and bug association. Will re-land with correct information. TBR=thakis@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52585 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_cookies_apitest.cc')
-rw-r--r--chrome/browser/extensions/extension_cookies_apitest.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/chrome/browser/extensions/extension_cookies_apitest.cc b/chrome/browser/extensions/extension_cookies_apitest.cc
index 1da9500..396f8c7 100644
--- a/chrome/browser/extensions/extension_cookies_apitest.cc
+++ b/chrome/browser/extensions/extension_cookies_apitest.cc
@@ -7,13 +7,15 @@
#include "chrome/common/chrome_switches.h"
IN_PROC_BROWSER_TEST_F(ExtensionApiTest, Cookies) {
+ CommandLine::ForCurrentProcess()->AppendSwitch(
+ switches::kEnableExperimentalExtensionApis);
+
ASSERT_TRUE(RunExtensionTest("cookies/api")) << message_;
}
IN_PROC_BROWSER_TEST_F(ExtensionApiTest, CookiesEvents) {
- ASSERT_TRUE(RunExtensionTest("cookies/events")) << message_;
-}
+ CommandLine::ForCurrentProcess()->AppendSwitch(
+ switches::kEnableExperimentalExtensionApis);
-IN_PROC_BROWSER_TEST_F(ExtensionApiTest, CookiesNoPermission) {
- ASSERT_TRUE(RunExtensionTest("cookies/no_permission")) << message_;
+ ASSERT_TRUE(RunExtensionTest("cookies/events")) << message_;
}