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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/extensions/extension_apitest.h" 5 #include "chrome/browser/extensions/extension_apitest.h"
6 #include "chrome/common/extensions/manifest_handler.h"
7 #include "chrome/common/extensions/sandboxed_handler.h"
6 8
7 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, SandboxedPages) { 9 namespace extensions {
10
11 class SandboxedPagesApiTest : public ExtensionApiTest {
12 protected:
13 virtual void SetUpOnMainThread() OVERRIDE {
14 ExtensionApiTest::SetUpOnMainThread();
15 (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.
16 }
17 };
18
19 IN_PROC_BROWSER_TEST_F(SandboxedPagesApiTest, SandboxedPages) {
8 EXPECT_TRUE(RunExtensionSubtest("sandboxed_pages", "main.html")) << message_; 20 EXPECT_TRUE(RunExtensionSubtest("sandboxed_pages", "main.html")) << message_;
9 } 21 }
22
23 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698