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 "base/guid.h" | 8 #include "base/guid.h" |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 #include "content/public/browser/client_certificate_delegate.h" | 10 #include "content/public/browser/client_certificate_delegate.h" |
11 #include "content/public/browser/vpn_service_proxy.h" | 11 #include "content/public/browser/vpn_service_proxy.h" |
12 #include "content/public/common/sandbox_type.h" | 12 #include "content/public/common/sandbox_type.h" |
13 #include "media/base/cdm_factory.h" | 13 #include "media/base/cdm_factory.h" |
14 #include "storage/browser/quota/quota_manager.h" | 14 #include "storage/browser/quota/quota_manager.h" |
15 #include "ui/gfx/image/image_skia.h" | 15 #include "ui/gfx/image/image_skia.h" |
16 #include "url/gurl.h" | 16 #include "url/gurl.h" |
17 | 17 |
18 namespace content { | 18 namespace content { |
19 | 19 |
20 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( | 20 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( |
21 const MainFunctionParams& parameters) { | 21 const MainFunctionParams& parameters) { |
22 return nullptr; | 22 return nullptr; |
23 } | 23 } |
24 | 24 |
25 void ContentBrowserClient::PostAfterStartupTask( | 25 void ContentBrowserClient::PostAfterStartupTask( |
26 const tracked_objects::Location& from_here, | 26 const tracked_objects::Location& from_here, |
27 const scoped_refptr<base::TaskRunner>& task_runner, | 27 const scoped_refptr<base::TaskRunner>& task_runner, |
28 const base::Closure& task) { | 28 base::OnceClosure task) { |
29 task_runner->PostTask(from_here, task); | 29 task_runner->PostTask(from_here, std::move(task)); |
30 } | 30 } |
31 | 31 |
32 bool ContentBrowserClient::IsBrowserStartupComplete() { | 32 bool ContentBrowserClient::IsBrowserStartupComplete() { |
33 return true; | 33 return true; |
34 } | 34 } |
35 | 35 |
36 WebContentsViewDelegate* ContentBrowserClient::GetWebContentsViewDelegate( | 36 WebContentsViewDelegate* ContentBrowserClient::GetWebContentsViewDelegate( |
37 WebContents* web_contents) { | 37 WebContents* web_contents) { |
38 return nullptr; | 38 return nullptr; |
39 } | 39 } |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 #if defined(VIDEO_HOLE) | 422 #if defined(VIDEO_HOLE) |
423 ExternalVideoSurfaceContainer* | 423 ExternalVideoSurfaceContainer* |
424 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 424 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
425 WebContents* web_contents) { | 425 WebContents* web_contents) { |
426 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; | 426 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; |
427 return nullptr; | 427 return nullptr; |
428 } | 428 } |
429 #endif | 429 #endif |
430 | 430 |
431 } // namespace content | 431 } // namespace content |
OLD | NEW |