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

Unified 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, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/media/router/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/router/media_router_defines.h
diff --git a/chrome/browser/media/router/media_router_defines.h b/chrome/browser/media/router/media_router_defines.h
new file mode 100644
index 0000000000000000000000000000000000000000..e71f3713e2fea09f465c9bdaac6c9e1c96255de1
--- /dev/null
+++ b/chrome/browser/media/router/media_router_defines.h
@@ -0,0 +1,31 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_DEFINES_H_
+#define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_DEFINES_H_
+
+#include <string>
+
+#include "base/callback.h"
+
+namespace media_router {
+
+class MediaRouteResponse;
+
+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:/
+
+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
+
+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
+ MediaRouteResponseCallback;
mark a. foltz 2015/02/26 01:11:22 Please verify this is really used in multiple head
+typedef int64 RouteRequestId;
mark a. foltz 2015/02/26 01:11:22 Add newlines consistently between entries (after c
+static const RouteRequestId kInvalidRouteRequestId = -1;
+
+typedef std::string MediaRouteId;
+
+typedef std::string IssueId;
+
+} // namespace media_router
+
+#endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_DEFINES_H_
« 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