1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chromecast/browser/cast_content_browser_client.h"
7 #include "content/public/browser/browser_message_filter.h"
8 #include "media/audio/audio_manager_factory.h"
10 namespace chromecast
{
13 void CastContentBrowserClient::PlatformAppendExtraCommandLineSwitches(
14 base::CommandLine
* command_line
) {
17 std::vector
<scoped_refptr
<content::BrowserMessageFilter
>>
18 CastContentBrowserClient::PlatformGetBrowserMessageFilters() {
19 return std::vector
<scoped_refptr
<content::BrowserMessageFilter
>>();
22 scoped_ptr
<::media::AudioManagerFactory
>
23 CastContentBrowserClient::PlatformCreateAudioManagerFactory() {
24 // Return nullptr. The factory will not be set, and the statically linked
25 // implementation of AudioManager will be used.
26 return scoped_ptr
<::media::AudioManagerFactory
>();
30 } // namespace chromecast