Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(259)

Side by Side Diff: content/public/browser/content_browser_client.cc

Issue 1908423006: Allow content embedders to create AudioManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 return false; 95 return false;
96 } 96 }
97 97
98 bool ContentBrowserClient::ShouldSwapBrowsingInstancesForNavigation( 98 bool ContentBrowserClient::ShouldSwapBrowsingInstancesForNavigation(
99 SiteInstance* site_instance, 99 SiteInstance* site_instance,
100 const GURL& current_url, 100 const GURL& current_url,
101 const GURL& new_url) { 101 const GURL& new_url) {
102 return false; 102 return false;
103 } 103 }
104 104
105 media::AudioManager* ContentBrowserClient::CreateAudioManager(
106 media::AudioLogFactory* audio_log_factory) {
107 return nullptr;
108 }
109
105 std::unique_ptr<media::CdmFactory> ContentBrowserClient::CreateCdmFactory() { 110 std::unique_ptr<media::CdmFactory> ContentBrowserClient::CreateCdmFactory() {
106 return nullptr; 111 return nullptr;
107 } 112 }
108 113
109 bool ContentBrowserClient::ShouldSwapProcessesForRedirect( 114 bool ContentBrowserClient::ShouldSwapProcessesForRedirect(
110 ResourceContext* resource_context, const GURL& current_url, 115 ResourceContext* resource_context, const GURL& current_url,
111 const GURL& new_url) { 116 const GURL& new_url) {
112 return false; 117 return false;
113 } 118 }
114 119
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 #if defined(VIDEO_HOLE) 420 #if defined(VIDEO_HOLE)
416 ExternalVideoSurfaceContainer* 421 ExternalVideoSurfaceContainer*
417 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 422 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
418 WebContents* web_contents) { 423 WebContents* web_contents) {
419 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; 424 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348.";
420 return nullptr; 425 return nullptr;
421 } 426 }
422 #endif 427 #endif
423 428
424 } // namespace content 429 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698