OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "content/shell/browser/layout_test/layout_test_browser_context.h" | 5 #include "content/shell/browser/layout_test/layout_test_browser_context.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/files/file_util.h" | 9 #include "base/files/file_util.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "build/build_config.h" |
11 #include "content/public/browser/browser_thread.h" | 12 #include "content/public/browser/browser_thread.h" |
12 #include "content/public/browser/push_messaging_service.h" | 13 #include "content/public/browser/push_messaging_service.h" |
13 #include "content/public/browser/resource_context.h" | 14 #include "content/public/browser/resource_context.h" |
14 #include "content/shell/browser/layout_test/layout_test_download_manager_delegat
e.h" | 15 #include "content/shell/browser/layout_test/layout_test_download_manager_delegat
e.h" |
15 #include "content/shell/browser/layout_test/layout_test_permission_manager.h" | 16 #include "content/shell/browser/layout_test/layout_test_permission_manager.h" |
16 #include "content/shell/browser/layout_test/layout_test_push_messaging_service.h
" | 17 #include "content/shell/browser/layout_test/layout_test_push_messaging_service.h
" |
17 #include "content/shell/browser/layout_test/layout_test_url_request_context_gett
er.h" | 18 #include "content/shell/browser/layout_test/layout_test_url_request_context_gett
er.h" |
18 #include "content/shell/browser/shell_url_request_context_getter.h" | 19 #include "content/shell/browser/shell_url_request_context_getter.h" |
19 | 20 |
20 #if defined(OS_WIN) | 21 #if defined(OS_WIN) |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 LayoutTestBrowserContext::GetBackgroundSyncController() { | 80 LayoutTestBrowserContext::GetBackgroundSyncController() { |
80 return nullptr; | 81 return nullptr; |
81 } | 82 } |
82 | 83 |
83 LayoutTestPermissionManager* | 84 LayoutTestPermissionManager* |
84 LayoutTestBrowserContext::GetLayoutTestPermissionManager() { | 85 LayoutTestBrowserContext::GetLayoutTestPermissionManager() { |
85 return static_cast<LayoutTestPermissionManager*>(GetPermissionManager()); | 86 return static_cast<LayoutTestPermissionManager*>(GetPermissionManager()); |
86 } | 87 } |
87 | 88 |
88 } // namespace content | 89 } // namespace content |
OLD | NEW |