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

Unified Diff: chromecast/browser/media/cast_mojo_media_application.h

Issue 1955053003: [chromecast] Delete CastMojoMediaApplication. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nogncheck for conditional include Created 4 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 | « chromecast/browser/media/BUILD.gn ('k') | chromecast/browser/media/cast_mojo_media_application.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/media/cast_mojo_media_application.h
diff --git a/chromecast/browser/media/cast_mojo_media_application.h b/chromecast/browser/media/cast_mojo_media_application.h
deleted file mode 100644
index d4e23034b5ecc158d4d3d4d8aa6fc4fbde4f2029..0000000000000000000000000000000000000000
--- a/chromecast/browser/media/cast_mojo_media_application.h
+++ /dev/null
@@ -1,60 +0,0 @@
-// Copyright 2016 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 CHROMECAST_BROWSER_MEDIA_CAST_MOJO_MEDIA_APPLICATION_H_
-#define CHROMECAST_BROWSER_MEDIA_CAST_MOJO_MEDIA_APPLICATION_H_
-
-#include <memory>
-
-#include "base/memory/ref_counted.h"
-#include "media/mojo/interfaces/service_factory.mojom.h"
-#include "services/shell/public/cpp/interface_factory.h"
-#include "services/shell/public/cpp/shell_client.h"
-#include "services/shell/public/cpp/shell_connection_ref.h"
-
-namespace base {
-class SingleThreadTaskRunner;
-} // namespace base
-
-namespace media {
-class MediaLog;
-} // namespace media
-
-namespace chromecast {
-namespace media {
-
-class CastMojoMediaClient;
-
-class CastMojoMediaApplication
- : public ::shell::ShellClient,
- public ::shell::InterfaceFactory<::media::interfaces::ServiceFactory> {
- public:
- CastMojoMediaApplication(
- std::unique_ptr<CastMojoMediaClient> mojo_media_client,
- scoped_refptr<base::SingleThreadTaskRunner> media_task_runner,
- const base::Closure& quit_closure);
- ~CastMojoMediaApplication() final;
-
- private:
- // ::shell::ShellClient implementation.
- void Initialize(::shell::Connector* connector,
- const ::shell::Identity& identity,
- uint32_t id) final;
- bool AcceptConnection(::shell::Connection* connection) final;
-
- // ::shell::InterfaceFactory<interfaces::ServiceFactory> implementation.
- void Create(::shell::Connection* connection,
- mojo::InterfaceRequest<::media::interfaces::ServiceFactory>
- request) final;
-
- std::unique_ptr<CastMojoMediaClient> mojo_media_client_;
- scoped_refptr<base::SingleThreadTaskRunner> media_task_runner_;
- scoped_refptr<::media::MediaLog> media_log_;
- ::shell::ShellConnectionRefFactory ref_factory_;
-};
-
-} // namespace media
-} // namespace chromecast
-
-#endif // CHROMECAST_BROWSER_MEDIA_CAST_MOJO_MEDIA_APPLICATION_H_
« no previous file with comments | « chromecast/browser/media/BUILD.gn ('k') | chromecast/browser/media/cast_mojo_media_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698