| OLD | NEW | 
| (Empty) |  | 
 |   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. | 
 |   4  | 
 |   5 #include "chromecast/media/audio/cast_audio_manager_factory.h" | 
 |   6  | 
 |   7 #include "base/logging.h" | 
 |   8 #include "chromecast/media/audio/cast_audio_manager.h" | 
 |   9 #include "chromecast/public/cast_media_shlib.h" | 
 |  10  | 
 |  11 namespace chromecast { | 
 |  12 namespace media { | 
 |  13  | 
 |  14 CastAudioManagerFactory::CastAudioManagerFactory() { | 
 |  15 } | 
 |  16  | 
 |  17 CastAudioManagerFactory::~CastAudioManagerFactory() { | 
 |  18 } | 
 |  19  | 
 |  20 ::media::AudioManager* CastAudioManagerFactory::CreateInstance( | 
 |  21     ::media::AudioLogFactory* audio_log_factory) { | 
 |  22   // Create an AudioManager and pass ownership to the caller. | 
 |  23   return new CastAudioManager(audio_log_factory, | 
 |  24                               media::CastMediaShlib::GetAudioOutputDevice()); | 
 |  25 } | 
 |  26  | 
 |  27 }  // namespace media | 
 |  28 }  // namespace chromecast | 
| OLD | NEW |