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 #include "content/public/browser/content_browser_client.h" | 5 #include "content/public/browser/content_browser_client.h" |
6 | 6 |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "content/public/browser/client_certificate_delegate.h" | 9 #include "content/public/browser/client_certificate_delegate.h" |
10 #include "content/public/common/sandbox_type.h" | 10 #include "content/public/common/sandbox_type.h" |
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 L"S-1-15-2-3251537155-1984446955-2931258699-841473695-1938553385-" | 411 L"S-1-15-2-3251537155-1984446955-2931258699-841473695-1938553385-" |
412 L"924012148-129201922"); | 412 L"924012148-129201922"); |
413 } | 413 } |
414 | 414 |
415 bool ContentBrowserClient::IsWin32kLockdownEnabledForMimeType( | 415 bool ContentBrowserClient::IsWin32kLockdownEnabledForMimeType( |
416 const std::string& mime_type) const { | 416 const std::string& mime_type) const { |
417 // TODO(wfh): Enable this by default once Win32k lockdown for PPAPI processes | 417 // TODO(wfh): Enable this by default once Win32k lockdown for PPAPI processes |
418 // is enabled by default in Chrome. See crbug.com/523278. | 418 // is enabled by default in Chrome. See crbug.com/523278. |
419 return false; | 419 return false; |
420 } | 420 } |
421 #endif | 421 |
| 422 bool ContentBrowserClient::ShouldUseWindowsPrefetchArgument() const { |
| 423 return true; |
| 424 } |
| 425 #endif // defined(OS_WIN) |
422 | 426 |
423 #if defined(VIDEO_HOLE) | 427 #if defined(VIDEO_HOLE) |
424 ExternalVideoSurfaceContainer* | 428 ExternalVideoSurfaceContainer* |
425 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 429 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
426 WebContents* web_contents) { | 430 WebContents* web_contents) { |
427 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; | 431 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; |
428 return nullptr; | 432 return nullptr; |
429 } | 433 } |
430 #endif | 434 #endif |
431 | 435 |
432 } // namespace content | 436 } // namespace content |
OLD | NEW |