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_ |