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

Unified Diff: media/mojo/services/test_mojo_media_client.h

Issue 2299703005: Rename TestMojoMediaClient -> DefaultMojoMediaClient. (Closed)
Patch Set: Created 4 years, 3 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
Index: media/mojo/services/test_mojo_media_client.h
diff --git a/media/mojo/services/test_mojo_media_client.h b/media/mojo/services/test_mojo_media_client.h
deleted file mode 100644
index b19f37c66ec826a08e214d82f58bc9570889e21b..0000000000000000000000000000000000000000
--- a/media/mojo/services/test_mojo_media_client.h
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright 2014 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.
-
-#ifndef MEDIA_MOJO_SERVICES_TEST_MOJO_MEDIA_CLIENT_H_
-#define MEDIA_MOJO_SERVICES_TEST_MOJO_MEDIA_CLIENT_H_
-
-#include <memory>
-
-#include "base/macros.h"
-#include "base/memory/ref_counted.h"
-#include "media/audio/audio_manager.h"
-#include "media/mojo/services/mojo_media_client.h"
-
-namespace base {
-class SingleThreadTaskRunner;
-}
-
-namespace media {
-
-class AudioRendererSink;
-class MediaLog;
-class RendererFactory;
-class VideoRendererSink;
-
-// Default MojoMediaClient for MojoMediaApplication.
-class TestMojoMediaClient : public MojoMediaClient {
- public:
- TestMojoMediaClient();
- ~TestMojoMediaClient() final;
-
- // MojoMediaClient implementation.
- void Initialize() final;
- scoped_refptr<AudioRendererSink> CreateAudioRendererSink(
- const std::string& audio_device_id) final;
- std::unique_ptr<VideoRendererSink> CreateVideoRendererSink(
- const scoped_refptr<base::SingleThreadTaskRunner>& task_runner) final;
- std::unique_ptr<RendererFactory> CreateRendererFactory(
- const scoped_refptr<MediaLog>& media_log) final;
- std::unique_ptr<CdmFactory> CreateCdmFactory(
- shell::mojom::InterfaceProvider* /* interface_provider */) final;
-
- private:
- ScopedAudioManagerPtr audio_manager_;
-
- DISALLOW_COPY_AND_ASSIGN(TestMojoMediaClient);
-};
-
-} // namespace media
-
-#endif // MEDIA_MOJO_SERVICES_TEST_MOJO_MEDIA_CLIENT_H_
« no previous file with comments | « media/mojo/services/mojo_media_application_factory.cc ('k') | media/mojo/services/test_mojo_media_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698