Revert "Reland c91b178b07b0d - Delete dead signin code (SigninGlobalError)"
[chromium-blink-merge.git] / chrome / browser / extensions / content_security_policy_apitest.cc
blobcbf104d282063ea3cdc1f650c168b465455ab153
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/extensions/extension_apitest.h"
6 #include "chrome/common/chrome_switches.h"
7 #include "net/dns/mock_host_resolver.h"
9 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, ContentSecurityPolicy) {
10 ASSERT_TRUE(StartEmbeddedTestServer());
11 ASSERT_TRUE(RunExtensionTest("content_security_policy")) << message_;
14 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, DefaultContentSecurityPolicy) {
15 ASSERT_TRUE(StartEmbeddedTestServer());
16 ASSERT_TRUE(RunExtensionTest("default_content_security_policy")) <<
17 message_;