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

Unified Diff: chrome/browser/media/router/media_routes_observer.h

Issue 1077963002: Revert of [Media Router] Design MediaRouter interface with stub implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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: chrome/browser/media/router/media_routes_observer.h
diff --git a/chrome/browser/media/router/media_routes_observer.h b/chrome/browser/media/router/media_routes_observer.h
deleted file mode 100644
index b4faa60ab0b6ce2519f0336e4edfc960054cfc92..0000000000000000000000000000000000000000
--- a/chrome/browser/media/router/media_routes_observer.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2015 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 CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTES_OBSERVER_H_
-#define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTES_OBSERVER_H_
-
-#include <vector>
-
-#include "base/macros.h"
-#include "chrome/browser/media/router/media_route.h"
-
-namespace media_router {
-
-class MediaRouter;
-
-// Base class for observing when the set of MediaRoutes and their associated
-// MediaSinks have been updated.
-class MediaRoutesObserver {
- public:
- explicit MediaRoutesObserver(MediaRouter* router);
- virtual ~MediaRoutesObserver();
-
- // This function is invoked when the list of routes and their associated
- // sinks have been updated. Routes included in the list are created either
- // locally or remotely.
- virtual void OnRoutesUpdated(const std::vector<MediaRoute>& routes) {}
-
- private:
- MediaRouter* router_;
-
- DISALLOW_COPY_AND_ASSIGN(MediaRoutesObserver);
-};
-
-} // namespace media_router
-
-#endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTES_OBSERVER_H_
« no previous file with comments | « chrome/browser/media/router/media_router_impl_factory.cc ('k') | chrome/browser/media/router/media_routes_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698