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

Unified Diff: tools/json_schema_compiler/any.h

Issue 11827026: Overhaul JSON Schema Compiler to support a number of features required to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 side-by-side diff with in-line comments
Download patch
Index: tools/json_schema_compiler/any.h
diff --git a/tools/json_schema_compiler/any.h b/tools/json_schema_compiler/any.h
deleted file mode 100644
index 83b84d6e0d3de75047d73fb464b02e806b96482f..0000000000000000000000000000000000000000
--- a/tools/json_schema_compiler/any.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// 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.
-
-#ifndef TOOLS_JSON_SCHEMA_COMPILER_ANY_H__
-#define TOOLS_JSON_SCHEMA_COMPILER_ANY_H__
-
-#include "base/basictypes.h"
-#include "base/memory/scoped_ptr.h"
-
-namespace base {
-class Value;
-}
-
-namespace json_schema_compiler {
-namespace any {
-
-// Represents an "any" type in JSON schema as a wrapped Value.
-class Any {
- public:
- Any();
- explicit Any(scoped_ptr<base::Value> from_value);
- ~Any();
-
- // Initializes the Value in this Any. Fails if already initialized.
- void Init(const base::Value& from_value);
-
- // Get the Value from this Any.
- const base::Value& value() const;
-
- private:
- scoped_ptr<base::Value> value_;
-
- DISALLOW_COPY_AND_ASSIGN(Any);
-};
-
-} // namespace any
-} // namespace json_schema_compiler
-
-#endif // TOOLS_JSON_SCHEMA_COMPILER_ANY_H__
« no previous file with comments | « chrome/common/extensions/docs/server2/test_data/test_json/expected_test_file.json ('k') | tools/json_schema_compiler/any.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698