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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 const base::CommandLine& command_line, | 81 const base::CommandLine& command_line, |
82 int child_process_id, | 82 int child_process_id, |
83 content::FileDescriptorInfo* mappings, | 83 content::FileDescriptorInfo* mappings, |
84 std::map<int, base::MemoryMappedFile::Region>* regions) override; | 84 std::map<int, base::MemoryMappedFile::Region>* regions) override; |
85 #elif defined(OS_POSIX) && !defined(OS_MACOSX) | 85 #elif defined(OS_POSIX) && !defined(OS_MACOSX) |
86 void GetAdditionalMappedFilesForChildProcess( | 86 void GetAdditionalMappedFilesForChildProcess( |
87 const base::CommandLine& command_line, | 87 const base::CommandLine& command_line, |
88 int child_process_id, | 88 int child_process_id, |
89 content::FileDescriptorInfo* mappings) override; | 89 content::FileDescriptorInfo* mappings) override; |
90 #endif // defined(OS_ANDROID) | 90 #endif // defined(OS_ANDROID) |
91 #if defined(OS_WIN) | |
92 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; | |
93 #endif | |
94 | 91 |
95 ShellBrowserContext* browser_context(); | 92 ShellBrowserContext* browser_context(); |
96 ShellBrowserContext* off_the_record_browser_context(); | 93 ShellBrowserContext* off_the_record_browser_context(); |
97 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() { | 94 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() { |
98 return resource_dispatcher_host_delegate_.get(); | 95 return resource_dispatcher_host_delegate_.get(); |
99 } | 96 } |
100 ShellBrowserMainParts* shell_browser_main_parts() { | 97 ShellBrowserMainParts* shell_browser_main_parts() { |
101 return shell_browser_main_parts_; | 98 return shell_browser_main_parts_; |
102 } | 99 } |
103 | 100 |
(...skipping 21 matching lines...) Expand all Loading... |
125 resource_dispatcher_host_delegate_; | 122 resource_dispatcher_host_delegate_; |
126 | 123 |
127 base::Closure select_client_certificate_callback_; | 124 base::Closure select_client_certificate_callback_; |
128 | 125 |
129 ShellBrowserMainParts* shell_browser_main_parts_; | 126 ShellBrowserMainParts* shell_browser_main_parts_; |
130 }; | 127 }; |
131 | 128 |
132 } // namespace content | 129 } // namespace content |
133 | 130 |
134 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 131 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |