| 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 "base/command_line.h" | 5 #include "base/command_line.h" |
| 6 #include "base/path_service.h" | 6 #include "base/path_service.h" |
| 7 #include "base/stringprintf.h" | 7 #include "base/stringprintf.h" |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "chrome/browser/content_settings/cookie_settings.h" | 9 #include "chrome/browser/content_settings/cookie_settings.h" |
| 10 #include "chrome/browser/content_settings/host_content_settings_map.h" | 10 #include "chrome/browser/content_settings/host_content_settings_map.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "chrome/test/base/ui_test_utils.h" | 22 #include "chrome/test/base/ui_test_utils.h" |
| 23 #include "content/public/browser/browser_thread.h" | 23 #include "content/public/browser/browser_thread.h" |
| 24 #include "content/public/browser/plugin_service.h" | 24 #include "content/public/browser/plugin_service.h" |
| 25 #include "content/public/browser/render_process_host.h" | 25 #include "content/public/browser/render_process_host.h" |
| 26 #include "content/public/browser/render_view_host.h" | 26 #include "content/public/browser/render_view_host.h" |
| 27 #include "content/public/browser/web_contents.h" | 27 #include "content/public/browser/web_contents.h" |
| 28 #include "content/public/common/content_switches.h" | 28 #include "content/public/common/content_switches.h" |
| 29 #include "content/public/test/browser_test_utils.h" | 29 #include "content/public/test/browser_test_utils.h" |
| 30 #include "content/public/test/test_utils.h" | 30 #include "content/public/test/test_utils.h" |
| 31 #include "content/test/net/url_request_mock_http_job.h" | 31 #include "content/test/net/url_request_mock_http_job.h" |
| 32 #include "net/test/spawned_test_server.h" | 32 #include "net/test/spawned_test_server/spawned_test_server.h" |
| 33 | 33 |
| 34 #include "widevine_cdm_version.h" // In SHARED_INTERMEDIATE_DIR. | 34 #include "widevine_cdm_version.h" // In SHARED_INTERMEDIATE_DIR. |
| 35 | 35 |
| 36 #if defined(OS_MACOSX) | 36 #if defined(OS_MACOSX) |
| 37 #include "base/mac/scoped_nsautorelease_pool.h" | 37 #include "base/mac/scoped_nsautorelease_pool.h" |
| 38 #endif | 38 #endif |
| 39 | 39 |
| 40 using content::BrowserThread; | 40 using content::BrowserThread; |
| 41 using content::URLRequestMockHTTPJob; | 41 using content::URLRequestMockHTTPJob; |
| 42 | 42 |
| (...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 583 #if defined(WIDEVINE_CDM_AVAILABLE) | 583 #if defined(WIDEVINE_CDM_AVAILABLE) |
| 584 RunJavaScriptBlockedTest("load_widevine_no_js.html", true); | 584 RunJavaScriptBlockedTest("load_widevine_no_js.html", true); |
| 585 #endif | 585 #endif |
| 586 | 586 |
| 587 #if !defined(DISABLE_NACL) | 587 #if !defined(DISABLE_NACL) |
| 588 RunJavaScriptBlockedTest("load_nacl_no_js.html", true); | 588 RunJavaScriptBlockedTest("load_nacl_no_js.html", true); |
| 589 #endif | 589 #endif |
| 590 } | 590 } |
| 591 | 591 |
| 592 #endif // defined(ENABLE_PLUGINS) | 592 #endif // defined(ENABLE_PLUGINS) |
| OLD | NEW |