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

Unified Diff: base/json/json_file_value_serializer.h

Issue 16797003: Make base use the proper Value namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: iwarnings fixed Created 7 years, 6 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 | « no previous file | base/json/json_file_value_serializer.cc » ('j') | base/json/json_string_value_serializer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/json/json_file_value_serializer.h
diff --git a/base/json/json_file_value_serializer.h b/base/json/json_file_value_serializer.h
index 81904df8ebac9c2292a6da10026fdf452d6b5f55..4a0c334871487851dd3b76361ae0ea56215706dc 100644
--- a/base/json/json_file_value_serializer.h
+++ b/base/json/json_file_value_serializer.h
@@ -32,11 +32,11 @@ class BASE_EXPORT JSONFileValueSerializer : public base::ValueSerializer {
// Attempt to serialize the data structure represented by Value into
// JSON. If the return value is true, the result will have been written
// into the file whose name was passed into the constructor.
- virtual bool Serialize(const Value& root) OVERRIDE;
+ virtual bool Serialize(const base::Value& root) OVERRIDE;
// Equivalent to Serialize(root) except binary values are omitted from the
// output.
- bool SerializeAndOmitBinaryValues(const Value& root);
+ bool SerializeAndOmitBinaryValues(const base::Value& root);
// Attempt to deserialize the data structure encoded in the file passed
// in to the constructor into a structure of Value objects. If the return
@@ -45,8 +45,8 @@ class BASE_EXPORT JSONFileValueSerializer : public base::ValueSerializer {
// If |error_message| is non-null, it will be filled in with a formatted
// error message including the location of the error if appropriate.
// The caller takes ownership of the returned value.
- virtual Value* Deserialize(int* error_code,
- std::string* error_message) OVERRIDE;
+ virtual base::Value* Deserialize(int* error_code,
+ std::string* error_message) OVERRIDE;
// This enum is designed to safely overlap with JSONReader::JsonParseError.
enum JsonFileError {
@@ -72,7 +72,7 @@ class BASE_EXPORT JSONFileValueSerializer : public base::ValueSerializer {
}
private:
- bool SerializeInternal(const Value& root, bool omit_binary_values);
+ bool SerializeInternal(const base::Value& root, bool omit_binary_values);
base::FilePath json_file_path_;
bool allow_trailing_comma_;
« no previous file with comments | « no previous file | base/json/json_file_value_serializer.cc » ('j') | base/json/json_string_value_serializer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698