| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 content::FileDescriptorInfo* mappings, | 268 content::FileDescriptorInfo* mappings, |
| 269 std::map<int, base::MemoryMappedFile::Region>* regions) override; | 269 std::map<int, base::MemoryMappedFile::Region>* regions) override; |
| 270 #elif defined(OS_POSIX) && !defined(OS_MACOSX) | 270 #elif defined(OS_POSIX) && !defined(OS_MACOSX) |
| 271 void GetAdditionalMappedFilesForChildProcess( | 271 void GetAdditionalMappedFilesForChildProcess( |
| 272 const base::CommandLine& command_line, | 272 const base::CommandLine& command_line, |
| 273 int child_process_id, | 273 int child_process_id, |
| 274 content::FileDescriptorInfo* mappings) override; | 274 content::FileDescriptorInfo* mappings) override; |
| 275 #endif // defined(OS_ANDROID) | 275 #endif // defined(OS_ANDROID) |
| 276 #if defined(OS_WIN) | 276 #if defined(OS_WIN) |
| 277 const wchar_t* GetResourceDllName() override; | 277 const wchar_t* GetResourceDllName() override; |
| 278 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; | |
| 279 base::string16 GetAppContainerSidForSandboxType( | 278 base::string16 GetAppContainerSidForSandboxType( |
| 280 int sandbox_type) const override; | 279 int sandbox_type) const override; |
| 281 bool IsWin32kLockdownEnabledForMimeType( | 280 bool IsWin32kLockdownEnabledForMimeType( |
| 282 const std::string& mime_type) const override; | 281 const std::string& mime_type) const override; |
| 283 bool ShouldUseWindowsPrefetchArgument() const override; | 282 bool ShouldUseWindowsPrefetchArgument() const override; |
| 284 #endif | 283 #endif |
| 285 void RegisterFrameMojoShellServices( | 284 void RegisterFrameMojoShellServices( |
| 286 content::ServiceRegistry* registry, | 285 content::ServiceRegistry* registry, |
| 287 content::RenderFrameHost* render_frame_host) override; | 286 content::RenderFrameHost* render_frame_host) override; |
| 288 void RegisterRenderFrameMojoServices( | 287 void RegisterRenderFrameMojoServices( |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 // Vector of additional ChromeContentBrowserClientParts. | 347 // Vector of additional ChromeContentBrowserClientParts. |
| 349 // Parts are deleted in the reverse order they are added. | 348 // Parts are deleted in the reverse order they are added. |
| 350 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 349 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 351 | 350 |
| 352 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 351 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 353 | 352 |
| 354 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 353 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 355 }; | 354 }; |
| 356 | 355 |
| 357 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 356 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |