summaryrefslogtreecommitdiff
path: root/tools/inspector_protocol/lib/Object_h.template
diff options
context:
space:
mode:
Diffstat (limited to 'tools/inspector_protocol/lib/Object_h.template')
-rw-r--r--tools/inspector_protocol/lib/Object_h.template4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/inspector_protocol/lib/Object_h.template b/tools/inspector_protocol/lib/Object_h.template
index f6ffc57659..ec953d0d48 100644
--- a/tools/inspector_protocol/lib/Object_h.template
+++ b/tools/inspector_protocol/lib/Object_h.template
@@ -1,3 +1,5 @@
+// This file is generated by Object_h.template.
+
// Copyright 2016 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.
@@ -16,12 +18,12 @@ namespace {{namespace}} {
class {{config.lib.export_macro}} Object {
public:
static std::unique_ptr<Object> fromValue(protocol::Value*, ErrorSupport*);
+ explicit Object(std::unique_ptr<protocol::DictionaryValue>);
~Object();
std::unique_ptr<protocol::DictionaryValue> toValue() const;
std::unique_ptr<Object> clone() const;
private:
- explicit Object(std::unique_ptr<protocol::DictionaryValue>);
std::unique_ptr<protocol::DictionaryValue> m_object;
};