| OLD | NEW |
| 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 <memory> | 5 #include <memory> |
| 6 | 6 |
| 7 #include "base/bind_helpers.h" | 7 #include "base/bind_helpers.h" |
| 8 #include "base/location.h" | 8 #include "base/location.h" |
| 9 #include "base/single_thread_task_runner.h" | 9 #include "base/single_thread_task_runner.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| 11 #include "base/thread_task_runner_handle.h" | 11 #include "base/threading/thread_task_runner_handle.h" |
| 12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
| 13 #include "chrome/browser/chrome_notification_types.h" | 13 #include "chrome/browser/chrome_notification_types.h" |
| 14 #include "chrome/browser/content_settings/cookie_settings_factory.h" | 14 #include "chrome/browser/content_settings/cookie_settings_factory.h" |
| 15 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" | 15 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" |
| 16 #include "chrome/browser/extensions/api/content_settings/content_settings_api.h" | 16 #include "chrome/browser/extensions/api/content_settings/content_settings_api.h" |
| 17 #include "chrome/browser/extensions/extension_apitest.h" | 17 #include "chrome/browser/extensions/extension_apitest.h" |
| 18 #include "chrome/browser/lifetime/keep_alive_types.h" | 18 #include "chrome/browser/lifetime/keep_alive_types.h" |
| 19 #include "chrome/browser/lifetime/scoped_keep_alive.h" | 19 #include "chrome/browser/lifetime/scoped_keep_alive.h" |
| 20 #include "chrome/browser/profiles/profile.h" | 20 #include "chrome/browser/profiles/profile.h" |
| 21 #include "chrome/browser/ui/browser.h" | 21 #include "chrome/browser/ui/browser.h" |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 << message_; | 304 << message_; |
| 305 } | 305 } |
| 306 | 306 |
| 307 IN_PROC_BROWSER_TEST_F(ExtensionContentSettingsApiTest, | 307 IN_PROC_BROWSER_TEST_F(ExtensionContentSettingsApiTest, |
| 308 UnsupportedDefaultSettings) { | 308 UnsupportedDefaultSettings) { |
| 309 const char kExtensionPath[] = "content_settings/unsupporteddefaultsettings"; | 309 const char kExtensionPath[] = "content_settings/unsupporteddefaultsettings"; |
| 310 EXPECT_TRUE(RunExtensionSubtest(kExtensionPath, "test.html")) << message_; | 310 EXPECT_TRUE(RunExtensionSubtest(kExtensionPath, "test.html")) << message_; |
| 311 } | 311 } |
| 312 | 312 |
| 313 } // namespace extensions | 313 } // namespace extensions |
| OLD | NEW |