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 "content/shell/shell_content_browser_client.h" | 5 #include "content/shell/shell_content_browser_client.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
9 #include "content/public/browser/resource_dispatcher_host.h" | 9 #include "content/public/browser/resource_dispatcher_host.h" |
10 #include "content/shell/geolocation/shell_access_token_store.h" | 10 #include "content/shell/geolocation/shell_access_token_store.h" |
11 #include "content/shell/shell.h" | 11 #include "content/shell/shell.h" |
12 #include "content/shell/shell_browser_context.h" | 12 #include "content/shell/shell_browser_context.h" |
13 #include "content/shell/shell_browser_main_parts.h" | 13 #include "content/shell/shell_browser_main_parts.h" |
14 #include "content/shell/shell_devtools_delegate.h" | 14 #include "content/shell/shell_devtools_delegate.h" |
15 #include "content/shell/shell_resource_dispatcher_host_delegate.h" | 15 #include "content/shell/shell_resource_dispatcher_host_delegate.h" |
16 #include "content/shell/shell_switches.h" | 16 #include "content/shell/shell_switches.h" |
17 #include "content/shell/shell_web_contents_view_delegate_creator.h" | 17 #include "content/shell/shell_web_contents_view_delegate_creator.h" |
18 #include "content/shell/webkit_test_runner_host.h" | 18 #include "content/shell/webkit_test_runner_host.h" |
19 #include "googleurl/src/gurl.h" | 19 #include "googleurl/src/gurl.h" |
20 | 20 |
21 #if defined(OS_ANDROID) | 21 #if defined(OS_ANDROID) |
22 #include "base/android/path_utils.h" | 22 #include "base/android/path_utils.h" |
| 23 #include "base/base_paths_android.h" |
23 #include "base/path_service.h" | 24 #include "base/path_service.h" |
24 #include "base/platform_file.h" | 25 #include "base/platform_file.h" |
25 #include "content/shell/android/shell_descriptors.h" | 26 #include "content/shell/android/shell_descriptors.h" |
26 #endif | 27 #endif |
27 | 28 |
28 namespace content { | 29 namespace content { |
29 | 30 |
30 ShellContentBrowserClient::ShellContentBrowserClient() | 31 ShellContentBrowserClient::ShellContentBrowserClient() |
31 : shell_browser_main_parts_(NULL) { | 32 : shell_browser_main_parts_(NULL) { |
32 } | 33 } |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 ShellBrowserContext* | 102 ShellBrowserContext* |
102 ShellContentBrowserClient::off_the_record_browser_context() { | 103 ShellContentBrowserClient::off_the_record_browser_context() { |
103 return shell_browser_main_parts_->off_the_record_browser_context(); | 104 return shell_browser_main_parts_->off_the_record_browser_context(); |
104 } | 105 } |
105 | 106 |
106 AccessTokenStore* ShellContentBrowserClient::CreateAccessTokenStore() { | 107 AccessTokenStore* ShellContentBrowserClient::CreateAccessTokenStore() { |
107 return new ShellAccessTokenStore(browser_context()->GetRequestContext()); | 108 return new ShellAccessTokenStore(browser_context()->GetRequestContext()); |
108 } | 109 } |
109 | 110 |
110 } // namespace content | 111 } // namespace content |
OLD | NEW |