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

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

Issue 949293004: Add media router common classes and unittests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « chrome/browser/media/router/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_
OLDNEW
« no previous file with comments | « chrome/browser/media/router/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698