OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
6 #define CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; | 68 DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; |
69 | 69 |
70 void OpenURL(BrowserContext* browser_context, | 70 void OpenURL(BrowserContext* browser_context, |
71 const OpenURLParams& params, | 71 const OpenURLParams& params, |
72 const base::Callback<void(WebContents*)>& callback) override; | 72 const base::Callback<void(WebContents*)>& callback) override; |
73 | 73 |
74 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 74 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
75 void GetAdditionalMappedFilesForChildProcess( | 75 void GetAdditionalMappedFilesForChildProcess( |
76 const base::CommandLine& command_line, | 76 const base::CommandLine& command_line, |
77 int child_process_id, | 77 int child_process_id, |
78 FileDescriptorInfo* mappings) override; | 78 content::FileDescriptorInfo* mappings |
| 79 #if defined(OS_ANDROID) |
| 80 , |
| 81 std::map<int, base::MemoryMappedFile::Region>* regions |
| 82 #endif |
| 83 ) override; |
79 #endif | 84 #endif |
80 #if defined(OS_WIN) | 85 #if defined(OS_WIN) |
81 void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override; | 86 void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override; |
82 #endif | 87 #endif |
83 | 88 |
84 ShellBrowserContext* browser_context(); | 89 ShellBrowserContext* browser_context(); |
85 ShellBrowserContext* off_the_record_browser_context(); | 90 ShellBrowserContext* off_the_record_browser_context(); |
86 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() { | 91 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() { |
87 return resource_dispatcher_host_delegate_.get(); | 92 return resource_dispatcher_host_delegate_.get(); |
88 } | 93 } |
(...skipping 20 matching lines...) Expand all Loading... |
109 #endif | 114 #endif |
110 | 115 |
111 base::Closure select_client_certificate_callback_; | 116 base::Closure select_client_certificate_callback_; |
112 | 117 |
113 ShellBrowserMainParts* shell_browser_main_parts_; | 118 ShellBrowserMainParts* shell_browser_main_parts_; |
114 }; | 119 }; |
115 | 120 |
116 } // namespace content | 121 } // namespace content |
117 | 122 |
118 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 123 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |