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

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

Issue 14694010: Consolidate manifest handler registration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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_contentsecuritypolicy_unittest.cc
diff --git a/chrome/common/extensions/manifest_tests/extension_manifests_contentsecuritypolicy_unittest.cc b/chrome/common/extensions/manifest_tests/extension_manifests_contentsecuritypolicy_unittest.cc
index b6de93015a08a171f54ef74902917aff569f76c5..4e54f4caf0a4c6735a34dd9fde6c92a55804ddf3 100644
--- a/chrome/common/extensions/manifest_tests/extension_manifests_contentsecuritypolicy_unittest.cc
+++ b/chrome/common/extensions/manifest_tests/extension_manifests_contentsecuritypolicy_unittest.cc
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/common/extensions/csp_handler.h"
-#include "chrome/common/extensions/extension.h"
#include "chrome/common/extensions/extension_manifest_constants.h"
#include "chrome/common/extensions/manifest_tests/extension_manifest_test.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -11,10 +9,6 @@
namespace errors = extension_manifest_errors;
class ContentSecurityPolicyManifestTest : public ExtensionManifestTest {
- virtual void SetUp() OVERRIDE {
- ExtensionManifestTest::SetUp();
- (new extensions::CSPHandler(false))->Register(); // not platform app.
- }
};
TEST_F(ContentSecurityPolicyManifestTest, InsecureContentSecurityPolicy) {

Powered by Google App Engine
This is Rietveld 408576698