| Index: media/base/message_loop_factory_for_test.cc
|
| diff --git a/media/base/message_loop_factory_for_test.cc b/media/base/message_loop_factory_for_test.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..44897a67ced632d3ac37caf8c0d767fa66c5840e
|
| --- /dev/null
|
| +++ b/media/base/message_loop_factory_for_test.cc
|
| @@ -0,0 +1,22 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "media/base/message_loop_factory_for_test.h"
|
| +
|
| +namespace media {
|
| +
|
| +MessageLoopFactoryForTest::MessageLoopFactoryForTest(
|
| + MessageLoop* the_only_loop)
|
| + : the_only_loop_(the_only_loop) {
|
| +}
|
| +
|
| +MessageLoopFactoryForTest::~MessageLoopFactoryForTest() {
|
| +}
|
| +
|
| +MessageLoop* MessageLoopFactoryForTest::GetMessageLoop(
|
| + const std::string& name) {
|
| + return the_only_loop_;
|
| +}
|
| +
|
| +} // namespace media
|
|
|