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

Unified Diff: lib/Object_h.template

Issue 2526603002: [inspector_protocol] Introduce protocol::Serializable (Closed)
Patch Set: minor fix Created 4 years, 1 month 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 | « lib/Object_cpp.template ('k') | lib/ValueConversions_h.template » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Object_h.template
diff --git a/lib/Object_h.template b/lib/Object_h.template
index 4ccd88bdab0a73fc6ab5bd59f3761881d3766b40..f6ffc57659e148bb7bf19e12bf86ab21c2f9cb97 100644
--- a/lib/Object_h.template
+++ b/lib/Object_h.template
@@ -15,10 +15,10 @@ namespace {{namespace}} {
class {{config.lib.export_macro}} Object {
public:
- static std::unique_ptr<Object> parse(protocol::Value*, ErrorSupport*);
+ static std::unique_ptr<Object> fromValue(protocol::Value*, ErrorSupport*);
~Object();
- std::unique_ptr<protocol::DictionaryValue> serialize() const;
+ std::unique_ptr<protocol::DictionaryValue> toValue() const;
std::unique_ptr<Object> clone() const;
private:
explicit Object(std::unique_ptr<protocol::DictionaryValue>);
« no previous file with comments | « lib/Object_cpp.template ('k') | lib/ValueConversions_h.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698