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

Side by Side Diff: mojo/public/interfaces/bindings/tests/test_native_types.mojom

Issue 1526533002: [mojo] Add pickling support for native-only structs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bindings-4-bool-deserialize
Patch Set: merge Created 5 years 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module mojo.test; 5 module mojo.test;
6 6
7 // Used to verify that structs can be declared with no body in mojom. 7 // Used to verify that structs can be declared with no body in mojom.
8 8
9 [native=True] 9 [native=True]
10 struct PickledStruct; 10 struct PickledStruct;
11 11
12 interface PicklePasser {
13 PassPickle(PickledStruct pickle) => (PickledStruct passed);
14 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698