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

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

Issue 2593413002: Add options to let mojom targets override their component deps. (Closed)
Patch Set: Fix ios Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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.test_export; 5 module mojo.test.test_export;
6 6
7 struct StringPair { 7 struct StringPair {
8 string s1; 8 string s1;
9 string s2; 9 string s2;
10 }; 10 };
11 11
12 // This is a regression test. On Windows, if we export the generated class *and* 12 // This is a regression test. On Windows, if we export the generated class *and*
13 // not explicitly disallow copy constructor and assign operator, compilation 13 // not explicitly disallow copy constructor and assign operator, compilation
14 // will fail because it tries to use copy constructor of 14 // will fail because it tries to use copy constructor of
15 // InlinedStructPtr<StringPair>. 15 // InlinedStructPtr<StringPair>.
16 struct StringPairContainer { 16 struct StringPairContainer {
17 array<StringPair> pairs; 17 array<StringPair> pairs;
18 }; 18 };
19
20 interface ExportedInterface {};
OLDNEW
« no previous file with comments | « mojo/public/interfaces/bindings/tests/BUILD.gn ('k') | mojo/public/interfaces/bindings/tests/test_import.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698