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

Unified Diff: media/mojo/clients/mojo_android_overlay_factory.h

Issue 2856253004: removed AndroidOverlayFactory (Closed)
Patch Set: cl feedvback Created 3 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
Index: media/mojo/clients/mojo_android_overlay_factory.h
diff --git a/media/mojo/clients/mojo_android_overlay_factory.h b/media/mojo/clients/mojo_android_overlay_factory.h
deleted file mode 100644
index dd45b62c60ce6df85b28b4ab4749889952c96913..0000000000000000000000000000000000000000
--- a/media/mojo/clients/mojo_android_overlay_factory.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2017 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_BASE_MOJO_ANDROID_OVERLAY_FACTORY_H_
-#define MEDIA_BASE_MOJO_ANDROID_OVERLAY_FACTORY_H_
-
-#include "base/macros.h"
-#include "base/unguessable_token.h"
-#include "media/base/android/android_overlay_factory.h"
-#include "media/mojo/interfaces/android_overlay.mojom.h"
-
-namespace service_manager {
-namespace mojom {
-class InterfaceProvider;
-}
-}
-
-namespace media {
-
-// AndroidOverlayFactory implementation for mojo-based overlays.
-class MojoAndroidOverlayFactory : public AndroidOverlayFactory {
- public:
- MojoAndroidOverlayFactory(
- const base::UnguessableToken& routing_token,
- service_manager::mojom::InterfaceProvider* interface_provider);
- ~MojoAndroidOverlayFactory() override;
-
- std::unique_ptr<AndroidOverlay> CreateOverlay(
- const AndroidOverlay::Config& config) override;
-
- private:
- service_manager::mojom::InterfaceProvider* const interface_provider_;
- base::UnguessableToken routing_token_;
-
- DISALLOW_COPY_AND_ASSIGN(MojoAndroidOverlayFactory);
-};
-
-} // namespace media
-
-#endif // MEDIA_BASE_MOJO_ANDROID_OVERLAY_H_

Powered by Google App Engine
This is Rietveld 408576698