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

Unified Diff: media/audio/test_audio_input_controller_factory.cc

Issue 10067035: RefCounted types should not have public destructors, media/ and gpu/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 7 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/test_audio_input_controller_factory.h ('k') | media/base/audio_renderer_sink.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/test_audio_input_controller_factory.cc
diff --git a/media/audio/test_audio_input_controller_factory.cc b/media/audio/test_audio_input_controller_factory.cc
index 04ab11c84a2cedfa4f7c5475e73a1584e7ea238a..c2f5ef8caf82ac02796ddad75af9fa1f9e67d43f 100644
--- a/media/audio/test_audio_input_controller_factory.cc
+++ b/media/audio/test_audio_input_controller_factory.cc
@@ -18,15 +18,15 @@ TestAudioInputController::TestAudioInputController(
message_loop_ = audio_manager->GetMessageLoop();
}
+void TestAudioInputController::Close(const base::Closure& closed_task) {
+ message_loop_->PostTask(FROM_HERE, closed_task);
+}
+
TestAudioInputController::~TestAudioInputController() {
// Inform the factory so that it allows creating new instances in future.
factory_->OnTestAudioInputControllerDestroyed(this);
}
-void TestAudioInputController::Close(const base::Closure& closed_task) {
- message_loop_->PostTask(FROM_HERE, closed_task);
-}
-
TestAudioInputControllerFactory::TestAudioInputControllerFactory()
: controller_(NULL) {
}
« no previous file with comments | « media/audio/test_audio_input_controller_factory.h ('k') | media/base/audio_renderer_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698