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 "content/public/browser/client_certificate_delegate.h" | 8 #include "content/public/browser/client_certificate_delegate.h" |
9 #include "content/public/common/sandbox_type.h" | 9 #include "content/public/common/sandbox_type.h" |
10 #include "media/base/cdm_factory.h" | 10 #include "media/base/cdm_factory.h" |
11 #include "storage/browser/quota/quota_manager.h" | 11 #include "storage/browser/quota/quota_manager.h" |
12 #include "ui/gfx/image/image_skia.h" | 12 #include "ui/gfx/image/image_skia.h" |
13 #include "url/gurl.h" | 13 #include "url/gurl.h" |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 | 16 |
| 17 ContentBrowserClient::ContentBrowserClient() = default; |
| 18 |
17 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( | 19 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( |
18 const MainFunctionParams& parameters) { | 20 const MainFunctionParams& parameters) { |
19 return nullptr; | 21 return nullptr; |
20 } | 22 } |
21 | 23 |
22 void ContentBrowserClient::PostAfterStartupTask( | 24 void ContentBrowserClient::PostAfterStartupTask( |
23 const tracked_objects::Location& from_here, | 25 const tracked_objects::Location& from_here, |
24 const scoped_refptr<base::TaskRunner>& task_runner, | 26 const scoped_refptr<base::TaskRunner>& task_runner, |
25 const base::Closure& task) { | 27 const base::Closure& task) { |
26 task_runner->PostTask(from_here, task); | 28 task_runner->PostTask(from_here, task); |
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 #if defined(VIDEO_HOLE) | 417 #if defined(VIDEO_HOLE) |
416 ExternalVideoSurfaceContainer* | 418 ExternalVideoSurfaceContainer* |
417 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 419 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
418 WebContents* web_contents) { | 420 WebContents* web_contents) { |
419 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; | 421 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; |
420 return nullptr; | 422 return nullptr; |
421 } | 423 } |
422 #endif | 424 #endif |
423 | 425 |
424 } // namespace content | 426 } // namespace content |
OLD | NEW |