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

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

Issue 2617143006: [Presentation API] Move Presentation API structs to public/common (Closed)
Patch Set: Revert OWNERS for crb/679129 Created 3 years, 11 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_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_
6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_ 6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/containers/small_map.h" 10 #include "base/containers/small_map.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "chrome/browser/media/router/media_sink.h" 13 #include "chrome/browser/media/router/media_sink.h"
14 #include "chrome/browser/media/router/media_source.h" 14 #include "chrome/browser/media/router/media_source.h"
15 #include "content/public/browser/presentation_session.h" 15 #include "content/public/common/presentation_session.h"
16 16
17 namespace media_router { 17 namespace media_router {
18 18
19 // MediaRoute objects contain the status and metadata of a routing 19 // MediaRoute objects contain the status and metadata of a routing
20 // operation. The fields are immutable and reflect the route status 20 // operation. The fields are immutable and reflect the route status
21 // only at the time of object creation. Updated route statuses must 21 // only at the time of object creation. Updated route statuses must
22 // be retrieved as new MediaRoute objects from the Media Router. 22 // be retrieved as new MediaRoute objects from the Media Router.
23 // 23 //
24 // TODO(mfoltz): Convert to a simple struct and remove uncommon parameters from 24 // TODO(mfoltz): Convert to a simple struct and remove uncommon parameters from
25 // the ctor. 25 // the ctor.
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 bool is_local_; 96 bool is_local_;
97 std::string custom_controller_path_; 97 std::string custom_controller_path_;
98 bool for_display_; 98 bool for_display_;
99 bool is_incognito_; 99 bool is_incognito_;
100 bool is_offscreen_presentation_; 100 bool is_offscreen_presentation_;
101 }; 101 };
102 102
103 } // namespace media_router 103 } // namespace media_router
104 104
105 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_ 105 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698