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

Side by Side Diff: chrome/common/media_router/media_route.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_ROUTE_H_ 5 #ifndef CHROME_COMMON_MEDIA_ROUTER_MEDIA_ROUTE_H_
6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_ 6 #define CHROME_COMMON_MEDIA_ROUTER_MEDIA_ROUTE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "chrome/browser/media/router/media_sink.h" 12 #include "chrome/common/media_router/media_sink.h"
13 #include "chrome/browser/media/router/media_source.h" 13 #include "chrome/common/media_router/media_source.h"
14 14
15 namespace media_router { 15 namespace media_router {
16 16
17 // MediaRoute objects contain the status and metadata of a routing 17 // MediaRoute objects contain the status and metadata of a routing
18 // operation. The fields are immutable and reflect the route status 18 // operation. The fields are immutable and reflect the route status
19 // only at the time of object creation. Updated route statuses must 19 // only at the time of object creation. Updated route statuses must
20 // be retrieved as new MediaRoute objects from the Media Router. 20 // be retrieved as new MediaRoute objects from the Media Router.
21 // 21 //
22 // TODO(mfoltz): Convert to a simple struct and remove uncommon parameters from 22 // TODO(mfoltz): Convert to a simple struct and remove uncommon parameters from
23 // the ctor. 23 // the ctor.
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 // |true| if the route was created by an incognito profile. 120 // |true| if the route was created by an incognito profile.
121 bool is_incognito_ = false; 121 bool is_incognito_ = false;
122 122
123 // |true| if the presentation associated with this route is an offscreen 123 // |true| if the presentation associated with this route is an offscreen
124 // presentation. 124 // presentation.
125 bool is_offscreen_presentation_ = false; 125 bool is_offscreen_presentation_ = false;
126 }; 126 };
127 127
128 } // namespace media_router 128 } // namespace media_router
129 129
130 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_ 130 #endif // CHROME_COMMON_MEDIA_ROUTER_MEDIA_ROUTE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698