OLD | NEW |
(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__ |
OLD | NEW |