Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3440)

Unified Diff: chrome/browser/extensions/sandboxed_pages_apitest.cc

Issue 12886023: Remove SandboxedPages and SandboxedCSP from Extension Class (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/sandboxed_pages_apitest.cc
diff --git a/chrome/browser/extensions/sandboxed_pages_apitest.cc b/chrome/browser/extensions/sandboxed_pages_apitest.cc
index 45ae8653a4408528c046568353262f70d01fa980..3d9bd58932b47bab2825cc0a1c49784fea535a90 100644
--- a/chrome/browser/extensions/sandboxed_pages_apitest.cc
+++ b/chrome/browser/extensions/sandboxed_pages_apitest.cc
@@ -3,7 +3,21 @@
// found in the LICENSE file.
#include "chrome/browser/extensions/extension_apitest.h"
+#include "chrome/common/extensions/manifest_handler.h"
+#include "chrome/common/extensions/sandboxed_handler.h"
-IN_PROC_BROWSER_TEST_F(ExtensionApiTest, SandboxedPages) {
+namespace extensions {
+
+class SandboxedPagesApiTest : public ExtensionApiTest {
+ protected:
+ virtual void SetUpOnMainThread() OVERRIDE {
+ ExtensionApiTest::SetUpOnMainThread();
+ (new SandboxedHandler)->Register();
Yoyo Zhou 2013/03/20 22:53:53 I don't think we need these in browser tests.
Devlin 2013/03/23 22:26:25 Done.
+ }
+};
+
+IN_PROC_BROWSER_TEST_F(SandboxedPagesApiTest, SandboxedPages) {
EXPECT_TRUE(RunExtensionSubtest("sandboxed_pages", "main.html")) << message_;
}
+
+} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698