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

Side by Side Diff: media/audio/audio_manager_base.cc

Issue 6628020: Cleaning up src/media to be consistent with static versus anonymous namespaces. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: fix namespaces Created 9 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "media/audio/audio_manager_base.h" 5 #include "media/audio/audio_manager_base.h"
6 #include "media/audio/audio_output_dispatcher.h" 6 #include "media/audio/audio_output_dispatcher.h"
7 #include "media/audio/audio_output_proxy.h" 7 #include "media/audio/audio_output_proxy.h"
8 8
9 namespace { 9 static const int kStreamCloseDelayMs = 5000;
10 const int kStreamCloseDelayMs = 5000;
11 } // namespace
12 10
13 AudioManagerBase::AudioManagerBase() 11 AudioManagerBase::AudioManagerBase()
14 : audio_thread_("AudioThread"), 12 : audio_thread_("AudioThread"),
15 initialized_(false) { 13 initialized_(false) {
16 } 14 }
17 15
18 AudioManagerBase::~AudioManagerBase() { 16 AudioManagerBase::~AudioManagerBase() {
19 DCHECK(!audio_thread_.IsRunning()); 17 DCHECK(!audio_thread_.IsRunning());
20 } 18 }
21 19
(...skipping 29 matching lines...) Expand all
51 49
52 return new AudioOutputProxy(dispatcher); 50 return new AudioOutputProxy(dispatcher);
53 } 51 }
54 52
55 bool AudioManagerBase::CanShowAudioInputSettings() { 53 bool AudioManagerBase::CanShowAudioInputSettings() {
56 return false; 54 return false;
57 } 55 }
58 56
59 void AudioManagerBase::ShowAudioInputSettings() { 57 void AudioManagerBase::ShowAudioInputSettings() {
60 } 58 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698