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

Unified Diff: chrome/common/extensions/manifest_tests/extension_manifests_sandboxed_unittest.cc

Issue 12253022: Manifest handler for all keys background-related. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/common/extensions/manifest_tests/extension_manifests_sandboxed_unittest.cc
diff --git a/chrome/common/extensions/manifest_tests/extension_manifests_sandboxed_unittest.cc b/chrome/common/extensions/manifest_tests/extension_manifests_sandboxed_unittest.cc
index 87e7dd18784e6bdb49a459cf40119255e5b40da2..eaa459306e6e1eae6b0b89091bf1de1b78e770c5 100644
--- a/chrome/common/extensions/manifest_tests/extension_manifests_sandboxed_unittest.cc
+++ b/chrome/common/extensions/manifest_tests/extension_manifests_sandboxed_unittest.cc
@@ -15,10 +15,7 @@ namespace errors = extension_manifest_errors;
class SandboxedPagesManifestTest : public ExtensionManifestTest {
virtual void SetUp() OVERRIDE {
ExtensionManifestTest::SetUp();
- extensions::ManifestHandler::Register(
- extension_manifest_keys::kContentSecurityPolicy,
- make_linked_ptr(new extensions::CSPHandler(false))); // not platform
- // app.
+ (new extensions::CSPHandler(false))->Register(); // Not platform app.
}
};
@@ -78,5 +75,3 @@ TEST_F(SandboxedPagesManifestTest, SandboxedPages) {
RunTestcases(testcases, arraysize(testcases),
EXPECT_TYPE_ERROR);
}
-
-

Powered by Google App Engine
This is Rietveld 408576698