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

Unified Diff: tools/json_schema_compiler/any.cc

Issue 11572061: Create DeclarativeConditionSet, DeclarativeActionSet, and DeclarativeRule templates (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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.cc
diff --git a/tools/json_schema_compiler/any.cc b/tools/json_schema_compiler/any.cc
index b429567446ff6b19cceff775ab786c066a50824f..cd4e5c35c42058eb151c62879c98b074dd89d8e6 100644
--- a/tools/json_schema_compiler/any.cc
+++ b/tools/json_schema_compiler/any.cc
@@ -12,6 +12,10 @@ namespace any {
Any::Any() {}
+Any::Any(scoped_ptr<base::Value> from_value)
+ : value_(from_value.Pass()) {
+}
+
Any::~Any() {}
void Any::Init(const base::Value& from_value) {
« chrome/browser/extensions/extension_browsertest.cc ('K') | « tools/json_schema_compiler/any.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698