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

Unified Diff: media/base/android/routing_token_callback.h

Issue 2765443004: AndroidOverlay implementation using Dialog. (Closed)
Patch Set: cl feedback - UIAction, nativeInit, weakref Created 3 years, 8 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
Index: media/base/android/routing_token_callback.h
diff --git a/media/base/android/routing_token_callback.h b/media/base/android/routing_token_callback.h
new file mode 100644
index 0000000000000000000000000000000000000000..efe106897cb9db20ea703b5671d509f3105d59f8
--- /dev/null
+++ b/media/base/android/routing_token_callback.h
@@ -0,0 +1,19 @@
+// Copyright 2017 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 MEDIA_BASE_ANDROID_ROUTING_TOKEN_CALLBACK_H_
+#define MEDIA_BASE_ANDROID_ROUTING_TOKEN_CALLBACK_H_
+
+#include "base/callback.h"
+#include "base/unguessable_token.h"
+
+namespace media {
+
+// Handy callback type to provide a routing token.
+using RoutingTokenCallback =
+ base::Callback<void(const base::UnguessableToken&)>;
+
+} // namespace media
+
+#endif // MEDIA_BASE_ANDROID_ROUTING_TOKEN_CALLBACK_H_

Powered by Google App Engine
This is Rietveld 408576698