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

Side by Side Diff: chrome/browser/media/router/mojo/media_route_controller.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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_MOJO_MEDIA_ROUTE_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MOJO_MEDIA_ROUTE_CONTROLLER_H_
6 #define CHROME_BROWSER_MEDIA_ROUTER_MOJO_MEDIA_ROUTE_CONTROLLER_H_ 6 #define CHROME_BROWSER_MEDIA_ROUTER_MOJO_MEDIA_ROUTE_CONTROLLER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/observer_list.h" 11 #include "base/observer_list.h"
12 #include "chrome/browser/media/router/media_route.h" 12 #include "chrome/common/media_router/media_route.h"
13 #include "chrome/browser/media/router/mojo/media_controller.mojom.h" 13 #include "chrome/common/media_router/mojo/media_controller.mojom.h"
14 #include "mojo/public/cpp/bindings/binding.h" 14 #include "mojo/public/cpp/bindings/binding.h"
15 15
16 namespace media_router { 16 namespace media_router {
17 17
18 class MediaRouter; 18 class MediaRouter;
19 19
20 // A controller for a MediaRoute. Forwards commands for controlling the route to 20 // A controller for a MediaRoute. Forwards commands for controlling the route to
21 // an out-of-process controller. Notifies its observers whenever there is a 21 // an out-of-process controller. Notifies its observers whenever there is a
22 // change in the route's MediaStatus. 22 // change in the route's MediaStatus.
23 // 23 //
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 // This becomes false when the controller is invalidated. 128 // This becomes false when the controller is invalidated.
129 bool is_valid_ = true; 129 bool is_valid_ = true;
130 130
131 DISALLOW_COPY_AND_ASSIGN(MediaRouteController); 131 DISALLOW_COPY_AND_ASSIGN(MediaRouteController);
132 }; 132 };
133 133
134 } // namespace media_router 134 } // namespace media_router
135 135
136 #endif // CHROME_BROWSER_MEDIA_ROUTER_MOJO_MEDIA_ROUTE_CONTROLLER_H_ 136 #endif // CHROME_BROWSER_MEDIA_ROUTER_MOJO_MEDIA_ROUTE_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698