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

Unified Diff: cc/ipc/single_release_callback.typemap

Issue 2686833003: CopyOutputResult must have a working release callback when received over mojo (Closed)
Patch Set: c Created 3 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
Index: cc/ipc/single_release_callback.typemap
diff --git a/cc/ipc/single_release_callback.typemap b/cc/ipc/single_release_callback.typemap
new file mode 100644
index 0000000000000000000000000000000000000000..f2a42c28342930a657d5da67319b1f6619d61099
--- /dev/null
+++ b/cc/ipc/single_release_callback.typemap
@@ -0,0 +1,14 @@
+# 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.
+
+mojom = "//cc/ipc/single_release_callback.mojom"
+public_headers = [ "//cc/resources/single_release_callback.h" ]
+traits_headers = [ "//cc/ipc/single_release_callback_struct_traits.h" ]
+public_deps = [
+ "//cc",
+]
+sources = [
+ "//cc/ipc:struct_traits",
+]
+type_mappings = [ "cc.mojom.SingleReleaseCallback=std::unique_ptr<cc::SingleReleaseCallback>[move_only]" ]

Powered by Google App Engine
This is Rietveld 408576698