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

Unified Diff: media/audio/scoped_loop_observer.h

Issue 10834033: Move AudioDevice and AudioInputDevice to media. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments and fixed a few lint issues Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/audio/mac/audio_manager_mac.cc ('k') | media/audio/scoped_loop_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/scoped_loop_observer.h
===================================================================
--- media/audio/scoped_loop_observer.h (revision 148738)
+++ media/audio/scoped_loop_observer.h (working copy)
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_RENDERER_MEDIA_SCOPED_LOOP_OBSERVER_H_
-#define CONTENT_RENDERER_MEDIA_SCOPED_LOOP_OBSERVER_H_
+#ifndef MEDIA_AUDIO_SCOPED_LOOP_OBSERVER_H_
+#define MEDIA_AUDIO_SCOPED_LOOP_OBSERVER_H_
#include "base/memory/ref_counted.h"
#include "base/message_loop.h"
@@ -13,7 +13,9 @@
class WaitableEvent;
}
-// A common base class for AudioDevice and AudioInputDevice that manages
+namespace media {
+
+// A common base class for AudioOutputDevice and AudioInputDevice that manages
// a message loop pointer and monitors it for destruction. If the object goes
// out of scope before the message loop, the object will automatically remove
// itself from the message loop's list of destruction observers.
@@ -43,4 +45,6 @@
DISALLOW_COPY_AND_ASSIGN(ScopedLoopObserver);
};
-#endif // CONTENT_RENDERER_MEDIA_SCOPED_LOOP_OBSERVER_H_
+} // namespace media.
+
+#endif // MEDIA_AUDIO_SCOPED_LOOP_OBSERVER_H_
« no previous file with comments | « media/audio/mac/audio_manager_mac.cc ('k') | media/audio/scoped_loop_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698