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

Unified Diff: chrome/common/json_value_serializer.h

Issue 17047: Update some comments/nits following r7486. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 12 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 | « base/values.h ('k') | chrome/common/json_value_serializer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/json_value_serializer.h
===================================================================
--- chrome/common/json_value_serializer.h (revision 7536)
+++ chrome/common/json_value_serializer.h (working copy)
@@ -39,7 +39,7 @@
// Attempt to deserialize the data structure encoded in the string passed
// in to the constructor into a structure of Value objects. If the return
- // value is NULL and |error_message| is non-null, |error-message| will contain
+ // value is NULL and |error_message| is non-null, |error_message| will contain
// a string describing the error.
Value* Deserialize(std::string* error_message);
@@ -84,7 +84,8 @@
// Attempt to deserialize the data structure encoded in the file passed
// in to the constructor into a structure of Value objects. If the return
// value is NULL, and if |error_message| is non-null, |error_message| will
- // contain a string describing the error.
+ // contain a string describing the error. The caller takes ownership of the
+ // returned value.
Value* Deserialize(std::string* error_message);
private:
« no previous file with comments | « base/values.h ('k') | chrome/common/json_value_serializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698