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

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

Issue 2737413003: [Presentation API] Remove references to presentation sessions. (Closed)
Patch Set: Update PresentationServiceDelegateImpl unittest Created 3 years, 9 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"
11 #include "base/logging.h" 10 #include "base/logging.h"
12 #include "base/values.h" 11 #include "base/values.h"
13 #include "chrome/browser/media/router/media_sink.h" 12 #include "chrome/browser/media/router/media_sink.h"
14 #include "chrome/browser/media/router/media_source.h" 13 #include "chrome/browser/media/router/media_source.h"
15 #include "content/public/common/presentation_session.h"
16 14
17 namespace media_router { 15 namespace media_router {
18 16
19 // MediaRoute objects contain the status and metadata of a routing 17 // MediaRoute objects contain the status and metadata of a routing
20 // operation. The fields are immutable and reflect the route status 18 // operation. The fields are immutable and reflect the route status
21 // only at the time of object creation. Updated route statuses must 19 // only at the time of object creation. Updated route statuses must
22 // be retrieved as new MediaRoute objects from the Media Router. 20 // be retrieved as new MediaRoute objects from the Media Router.
23 // 21 //
24 // 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
25 // the ctor. 23 // the ctor.
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 bool is_incognito_ = false; 121 bool is_incognito_ = false;
124 122
125 // |true| if the presentation associated with this route is an offscreen 123 // |true| if the presentation associated with this route is an offscreen
126 // presentation. 124 // presentation.
127 bool is_offscreen_presentation_ = false; 125 bool is_offscreen_presentation_ = false;
128 }; 126 };
129 127
130 } // namespace media_router 128 } // namespace media_router
131 129
132 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_ 130 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698