| 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 <memory> | 10 #include <memory> |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 int child_process_id, | 264 int child_process_id, |
| 265 content::FileDescriptorInfo* mappings) override; | 265 content::FileDescriptorInfo* mappings) override; |
| 266 #endif // defined(OS_ANDROID) | 266 #endif // defined(OS_ANDROID) |
| 267 #if defined(OS_WIN) | 267 #if defined(OS_WIN) |
| 268 const wchar_t* GetResourceDllName() override; | 268 const wchar_t* GetResourceDllName() override; |
| 269 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; | 269 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; |
| 270 base::string16 GetAppContainerSidForSandboxType( | 270 base::string16 GetAppContainerSidForSandboxType( |
| 271 int sandbox_type) const override; | 271 int sandbox_type) const override; |
| 272 bool IsWin32kLockdownEnabledForMimeType( | 272 bool IsWin32kLockdownEnabledForMimeType( |
| 273 const std::string& mime_type) const override; | 273 const std::string& mime_type) const override; |
| 274 bool ShouldUseWindowsPrefetchArgument() const override; | |
| 275 #endif | 274 #endif |
| 276 void RegisterRenderProcessMojoServices( | 275 void RegisterRenderProcessMojoServices( |
| 277 content::ServiceRegistry* registry, | 276 content::ServiceRegistry* registry, |
| 278 content::RenderProcessHost* render_process_host) override; | 277 content::RenderProcessHost* render_process_host) override; |
| 279 void RegisterFrameMojoShellServices( | 278 void RegisterFrameMojoShellServices( |
| 280 content::ServiceRegistry* registry, | 279 content::ServiceRegistry* registry, |
| 281 content::RenderFrameHost* render_frame_host) override; | 280 content::RenderFrameHost* render_frame_host) override; |
| 282 void RegisterRenderFrameMojoServices( | 281 void RegisterRenderFrameMojoServices( |
| 283 content::ServiceRegistry* registry, | 282 content::ServiceRegistry* registry, |
| 284 content::RenderFrameHost* render_frame_host) override; | 283 content::RenderFrameHost* render_frame_host) override; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 // Vector of additional ChromeContentBrowserClientParts. | 341 // Vector of additional ChromeContentBrowserClientParts. |
| 343 // Parts are deleted in the reverse order they are added. | 342 // Parts are deleted in the reverse order they are added. |
| 344 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 343 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 345 | 344 |
| 346 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 345 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 347 | 346 |
| 348 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 347 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 349 }; | 348 }; |
| 350 | 349 |
| 351 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 350 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |