| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 "chromecast/browser/cast_content_browser_client.h" | 5 #include "chromecast/browser/cast_content_browser_client.h" |
| 6 | 6 |
| 7 #include "content/public/browser/browser_message_filter.h" | 7 #include "content/public/browser/browser_message_filter.h" |
| 8 #include "media/audio/audio_manager_factory.h" |
| 8 | 9 |
| 9 namespace chromecast { | 10 namespace chromecast { |
| 10 namespace shell { | 11 namespace shell { |
| 11 | 12 |
| 12 void CastContentBrowserClient::PlatformAppendExtraCommandLineSwitches( | 13 void CastContentBrowserClient::PlatformAppendExtraCommandLineSwitches( |
| 13 base::CommandLine* command_line) { | 14 base::CommandLine* command_line) { |
| 14 } | 15 } |
| 15 | 16 |
| 16 std::vector<scoped_refptr<content::BrowserMessageFilter>> | 17 std::vector<scoped_refptr<content::BrowserMessageFilter>> |
| 17 CastContentBrowserClient::PlatformGetBrowserMessageFilters() { | 18 CastContentBrowserClient::PlatformGetBrowserMessageFilters() { |
| 18 return std::vector<scoped_refptr<content::BrowserMessageFilter>>(); | 19 return std::vector<scoped_refptr<content::BrowserMessageFilter>>(); |
| 19 } | 20 } |
| 20 | 21 |
| 22 scoped_ptr<::media::AudioManagerFactory> |
| 23 CastContentBrowserClient::PlatformGetAudioManagerFactory() { |
| 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>(); |
| 27 } |
| 28 |
| 21 } // namespace shell | 29 } // namespace shell |
| 22 } // namespace chromecast | 30 } // namespace chromecast |
| OLD | NEW |