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

Side by Side Diff: chrome/browser/media/router/media_routes_observer.h

Issue 2771413003: Move c/b/media/router/mojo/*.mojom to chrome/common/media_router/mojo/*.mojom (Closed)
Patch Set: Rebase Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTES_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTES_OBSERVER_H_
6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTES_OBSERVER_H_ 6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTES_OBSERVER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "chrome/browser/media/router/media_route.h" 11 #include "chrome/common/media_router/media_route.h"
12 12
13 namespace media_router { 13 namespace media_router {
14 14
15 class MediaRouter; 15 class MediaRouter;
16 16
17 // Base class for observing when the set of MediaRoutes and their associated 17 // Base class for observing when the set of MediaRoutes and their associated
18 // MediaSinks have been updated. When an object is instantiated with a 18 // MediaSinks have been updated. When an object is instantiated with a
19 // |source_id|, the observer expects that |routes| reported by 19 // |source_id|, the observer expects that |routes| reported by
20 // |OnRoutesUpdated| that match the route IDs contained in the 20 // |OnRoutesUpdated| that match the route IDs contained in the
21 // |joinable_route_ids| can be connected joined by the source. If no 21 // |joinable_route_ids| can be connected joined by the source. If no
(...skipping 22 matching lines...) Expand all
44 private: 44 private:
45 MediaRouter* const router_; 45 MediaRouter* const router_;
46 const MediaSource::Id source_id_; 46 const MediaSource::Id source_id_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(MediaRoutesObserver); 48 DISALLOW_COPY_AND_ASSIGN(MediaRoutesObserver);
49 }; 49 };
50 50
51 } // namespace media_router 51 } // namespace media_router
52 52
53 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTES_OBSERVER_H_ 53 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTES_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698