Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_DEFINES_H_ | |
| 6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_DEFINES_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "base/callback.h" | |
| 11 | |
| 12 namespace media_router { | |
| 13 | |
| 14 class MediaRouteResponse; | |
| 15 | |
| 16 typedef std::string MediaSinkId; | |
|
mark a. foltz
2015/02/26 01:11:22
I would like to see a comment explaining the synta
mark a. foltz
2015/02/26 01:11:22
Replace typedefs with using-declarations.
https:/
| |
| 17 | |
| 18 typedef std::string MediaSource; | |
|
mark a. foltz
2015/02/26 01:11:22
Mention that this is always a URI and I would be i
| |
| 19 | |
| 20 typedef base::Callback<void(const MediaRouteResponse&)> | |
|
mark a. foltz
2015/02/26 01:11:22
I would put this at the end as it's not aliasing a
| |
| 21 MediaRouteResponseCallback; | |
|
mark a. foltz
2015/02/26 01:11:22
Please verify this is really used in multiple head
| |
| 22 typedef int64 RouteRequestId; | |
|
mark a. foltz
2015/02/26 01:11:22
Add newlines consistently between entries (after c
| |
| 23 static const RouteRequestId kInvalidRouteRequestId = -1; | |
| 24 | |
| 25 typedef std::string MediaRouteId; | |
| 26 | |
| 27 typedef std::string IssueId; | |
| 28 | |
| 29 } // namespace media_router | |
| 30 | |
| 31 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_DEFINES_H_ | |
| OLD | NEW |