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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated_files_will_not_submit/crossref.h
diff --git a/generated_files_will_not_submit/crossref.h b/generated_files_will_not_submit/crossref.h
new file mode 100644
index 0000000000000000000000000000000000000000..3035428b1a9fb4c6109a8da0fd06ba0ec5ef2c8b
--- /dev/null
+++ b/generated_files_will_not_submit/crossref.h
@@ -0,0 +1,72 @@
+// Copyright (c) 2012 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.
+
+// GENERATED FROM THE API DEFINITION IN
+// tools/json_schema_compiler/test/crossref.json
+// DO NOT EDIT.
+
+#ifndef TOOLS_JSON_SCHEMA_COMPILER_TEST_CROSSREF_H__
+#define TOOLS_JSON_SCHEMA_COMPILER_TEST_CROSSREF_H__
+#pragma once
+
+#include <string>
+#include <vector>
+
+#include "base/basictypes.h"
+#include "base/memory/linked_ptr.h"
+#include "base/memory/scoped_ptr.h"
+#include "base/values.h"
+
+namespace test {
+namespace api {
+
+namespace simple_api {
+struct TestType;
+}
+
+namespace crossref {
+
+//
+// Types
+//
+
+//
+// Functions
+//
+
+namespace GetTestType {
+
+ namespace Result {
+ // A TestType.
+ Value* Create(const simple_api::TestType& result);
+ };
+
+};
+
+namespace TestTypeOptionalParam {
+ struct Params {
+ scoped_ptr<simple_api::TestType> test_type;
+
+ ~Params();
+
+ static scoped_ptr<Params> Create(const ListValue& args);
+
+ private:
+ Params();
+
+ DISALLOW_COPY_AND_ASSIGN(Params);
+ };
+
+ namespace Result {
+ Value* Create();
+ };
+
+};
+
+
+} // crossref
+} // api
+} // test
+
+#endif // TOOLS_JSON_SCHEMA_COMPILER_TEST_CROSSREF_H__
« 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