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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 int child_process_id, | 274 int child_process_id, |
275 content::FileDescriptorInfo* mappings) override; | 275 content::FileDescriptorInfo* mappings) override; |
276 #endif // defined(OS_ANDROID) | 276 #endif // defined(OS_ANDROID) |
277 #if defined(OS_WIN) | 277 #if defined(OS_WIN) |
278 const wchar_t* GetResourceDllName() override; | 278 const wchar_t* GetResourceDllName() override; |
279 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; | 279 bool PreSpawnRenderer(sandbox::TargetPolicy* policy) override; |
280 base::string16 GetAppContainerSidForSandboxType( | 280 base::string16 GetAppContainerSidForSandboxType( |
281 int sandbox_type) const override; | 281 int sandbox_type) const override; |
282 bool IsWin32kLockdownEnabledForMimeType( | 282 bool IsWin32kLockdownEnabledForMimeType( |
283 const std::string& mime_type) const override; | 283 const std::string& mime_type) const override; |
| 284 bool ShouldUseWindowsPrefetchArgument() const override; |
284 #endif | 285 #endif |
285 void RegisterFrameMojoShellServices( | 286 void RegisterFrameMojoShellServices( |
286 content::ServiceRegistry* registry, | 287 content::ServiceRegistry* registry, |
287 content::RenderFrameHost* render_frame_host) override; | 288 content::RenderFrameHost* render_frame_host) override; |
288 void RegisterRenderFrameMojoServices( | 289 void RegisterRenderFrameMojoServices( |
289 content::ServiceRegistry* registry, | 290 content::ServiceRegistry* registry, |
290 content::RenderFrameHost* render_frame_host) override; | 291 content::RenderFrameHost* render_frame_host) override; |
291 void RegisterInProcessMojoApplications( | 292 void RegisterInProcessMojoApplications( |
292 StaticMojoApplicationMap* apps) override; | 293 StaticMojoApplicationMap* apps) override; |
293 void RegisterOutOfProcessMojoApplications( | 294 void RegisterOutOfProcessMojoApplications( |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 // Vector of additional ChromeContentBrowserClientParts. | 349 // Vector of additional ChromeContentBrowserClientParts. |
349 // Parts are deleted in the reverse order they are added. | 350 // Parts are deleted in the reverse order they are added. |
350 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 351 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
351 | 352 |
352 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 353 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
353 | 354 |
354 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 355 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
355 }; | 356 }; |
356 | 357 |
357 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 358 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |