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

Side by Side Diff: generated_files_will_not_submit/crossref.h

Issue 9309044: Supporting more APIs with json_schema_compiler (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rework, add a couple of tests Created 8 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 unified diff | Download patch
« no previous file with comments | « generated_files_will_not_submit/choices.cc ('k') | generated_files_will_not_submit/crossref.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // GENERATED FROM THE API DEFINITION IN
6 // tools/json_schema_compiler/test/crossref.json
7 // DO NOT EDIT.
8
9 #ifndef TOOLS_JSON_SCHEMA_COMPILER_TEST_CROSSREF_H__
10 #define TOOLS_JSON_SCHEMA_COMPILER_TEST_CROSSREF_H__
11 #pragma once
12
13 #include <string>
14 #include <vector>
15
16 #include "base/basictypes.h"
17 #include "base/memory/linked_ptr.h"
18 #include "base/memory/scoped_ptr.h"
19 #include "base/values.h"
20
21 namespace test {
22 namespace api {
23
24 namespace simple_api {
25 struct TestType;
26 }
27
28 namespace crossref {
29
30 //
31 // Types
32 //
33
34 //
35 // Functions
36 //
37
38 namespace GetTestType {
39
40 namespace Result {
41 // A TestType.
42 Value* Create(const simple_api::TestType& result);
43 };
44
45 };
46
47 namespace TestTypeOptionalParam {
48 struct Params {
49 scoped_ptr<simple_api::TestType> test_type;
50
51 ~Params();
52
53 static scoped_ptr<Params> Create(const ListValue& args);
54
55 private:
56 Params();
57
58 DISALLOW_COPY_AND_ASSIGN(Params);
59 };
60
61 namespace Result {
62 Value* Create();
63 };
64
65 };
66
67
68 } // crossref
69 } // api
70 } // test
71
72 #endif // TOOLS_JSON_SCHEMA_COMPILER_TEST_CROSSREF_H__
OLDNEW
« no previous file with comments | « generated_files_will_not_submit/choices.cc ('k') | generated_files_will_not_submit/crossref.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698