| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 int child_process_id, | 80 int child_process_id, |
| 81 content::FileDescriptorInfo* mappings, | 81 content::FileDescriptorInfo* mappings, |
| 82 std::map<int, base::MemoryMappedFile::Region>* regions) override; | 82 std::map<int, base::MemoryMappedFile::Region>* regions) override; |
| 83 #elif defined(OS_POSIX) && !defined(OS_MACOSX) | 83 #elif defined(OS_POSIX) && !defined(OS_MACOSX) |
| 84 void GetAdditionalMappedFilesForChildProcess( | 84 void GetAdditionalMappedFilesForChildProcess( |
| 85 const base::CommandLine& command_line, | 85 const base::CommandLine& command_line, |
| 86 int child_process_id, | 86 int child_process_id, |
| 87 content::FileDescriptorInfo* mappings) override; | 87 content::FileDescriptorInfo* mappings) override; |
| 88 #endif // defined(OS_ANDROID) | 88 #endif // defined(OS_ANDROID) |
| 89 #if defined(OS_WIN) | 89 #if defined(OS_WIN) |
| 90 void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override; | 90 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; |
| 91 #endif | 91 #endif |
| 92 | 92 |
| 93 ShellBrowserContext* browser_context(); | 93 ShellBrowserContext* browser_context(); |
| 94 ShellBrowserContext* off_the_record_browser_context(); | 94 ShellBrowserContext* off_the_record_browser_context(); |
| 95 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() { | 95 ShellResourceDispatcherHostDelegate* resource_dispatcher_host_delegate() { |
| 96 return resource_dispatcher_host_delegate_.get(); | 96 return resource_dispatcher_host_delegate_.get(); |
| 97 } | 97 } |
| 98 ShellBrowserMainParts* shell_browser_main_parts() { | 98 ShellBrowserMainParts* shell_browser_main_parts() { |
| 99 return shell_browser_main_parts_; | 99 return shell_browser_main_parts_; |
| 100 } | 100 } |
| (...skipping 12 matching lines...) Expand all Loading... |
| 113 resource_dispatcher_host_delegate_; | 113 resource_dispatcher_host_delegate_; |
| 114 | 114 |
| 115 base::Closure select_client_certificate_callback_; | 115 base::Closure select_client_certificate_callback_; |
| 116 | 116 |
| 117 ShellBrowserMainParts* shell_browser_main_parts_; | 117 ShellBrowserMainParts* shell_browser_main_parts_; |
| 118 }; | 118 }; |
| 119 | 119 |
| 120 } // namespace content | 120 } // namespace content |
| 121 | 121 |
| 122 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 122 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |