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

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

Issue 2386633003: [Media Router] Convert MediaRouter to use GURL for presentation URLs. (Closed)
Patch Set: Respond to dcheng@ comment Created 4 years, 2 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/browser/presentation_session.h"
16 #include "url/gurl.h"
17 16
18 namespace media_router { 17 namespace media_router {
19 18
20 // MediaRoute objects contain the status and metadata of a routing 19 // MediaRoute objects contain the status and metadata of a routing
21 // operation. The fields are immutable and reflect the route status 20 // operation. The fields are immutable and reflect the route status
22 // only at the time of object creation. Updated route statuses must 21 // only at the time of object creation. Updated route statuses must
23 // be retrieved as new MediaRoute objects from the Media Router. 22 // be retrieved as new MediaRoute objects from the Media Router.
24 // 23 //
25 // 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
26 // the ctor. 25 // the ctor.
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 std::string description_; 87 std::string description_;
89 bool is_local_; 88 bool is_local_;
90 std::string custom_controller_path_; 89 std::string custom_controller_path_;
91 bool for_display_; 90 bool for_display_;
92 bool incognito_; 91 bool incognito_;
93 }; 92 };
94 93
95 } // namespace media_router 94 } // namespace media_router
96 95
97 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_ 96 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698