| 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 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 content::FileDescriptorInfo* mappings, | 265 content::FileDescriptorInfo* mappings, |
| 266 std::map<int, base::MemoryMappedFile::Region>* regions) override; | 266 std::map<int, base::MemoryMappedFile::Region>* regions) override; |
| 267 #elif defined(OS_POSIX) && !defined(OS_MACOSX) | 267 #elif defined(OS_POSIX) && !defined(OS_MACOSX) |
| 268 void GetAdditionalMappedFilesForChildProcess( | 268 void GetAdditionalMappedFilesForChildProcess( |
| 269 const base::CommandLine& command_line, | 269 const base::CommandLine& command_line, |
| 270 int child_process_id, | 270 int child_process_id, |
| 271 content::FileDescriptorInfo* mappings) override; | 271 content::FileDescriptorInfo* mappings) override; |
| 272 #endif // defined(OS_ANDROID) | 272 #endif // defined(OS_ANDROID) |
| 273 #if defined(OS_WIN) | 273 #if defined(OS_WIN) |
| 274 const wchar_t* GetResourceDllName() override; | 274 const wchar_t* GetResourceDllName() override; |
| 275 void PreSpawnRenderer(sandbox::TargetPolicy* policy, bool* success) override; | 275 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; |
| 276 base::string16 GetAppContainerSidForSandboxType( | 276 base::string16 GetAppContainerSidForSandboxType( |
| 277 int sandbox_type) const override; | 277 int sandbox_type) const override; |
| 278 #endif | 278 #endif |
| 279 void RegisterFrameMojoShellServices( | 279 void RegisterFrameMojoShellServices( |
| 280 content::ServiceRegistry* registry, | 280 content::ServiceRegistry* registry, |
| 281 content::RenderFrameHost* render_frame_host) override; | 281 content::RenderFrameHost* render_frame_host) override; |
| 282 void RegisterRenderFrameMojoServices( | 282 void RegisterRenderFrameMojoServices( |
| 283 content::ServiceRegistry* registry, | 283 content::ServiceRegistry* registry, |
| 284 content::RenderFrameHost* render_frame_host) override; | 284 content::RenderFrameHost* render_frame_host) override; |
| 285 void RegisterOutOfProcessMojoApplications( | 285 void RegisterOutOfProcessMojoApplications( |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 // Vector of additional ChromeContentBrowserClientParts. | 340 // Vector of additional ChromeContentBrowserClientParts. |
| 341 // Parts are deleted in the reverse order they are added. | 341 // Parts are deleted in the reverse order they are added. |
| 342 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 342 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 343 | 343 |
| 344 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 344 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 345 | 345 |
| 346 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 346 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 347 }; | 347 }; |
| 348 | 348 |
| 349 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 349 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |