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

Unified Diff: google_apis/drive/test_util.cc

Issue 925783002: Split ValueSerializer into separate Serializer and Deserializer classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed cpplint warnings. Created 5 years, 10 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 | « extensions/utility/unpacker.cc ('k') | remoting/host/pairing_registry_delegate_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/drive/test_util.cc
diff --git a/google_apis/drive/test_util.cc b/google_apis/drive/test_util.cc
index ea193c449bc6d7af48b86246b183f506722e1d8b..db14c9d7bb43b37e67b71a1fef7ce7a0547cfa90 100644
--- a/google_apis/drive/test_util.cc
+++ b/google_apis/drive/test_util.cc
@@ -81,8 +81,8 @@ scoped_ptr<base::Value> LoadJSONFile(const std::string& relative_path) {
base::FilePath path = GetTestFilePath(relative_path);
std::string error;
- JSONFileValueSerializer serializer(path);
- scoped_ptr<base::Value> value(serializer.Deserialize(NULL, &error));
+ JSONFileValueDeserializer deserializer(path);
+ scoped_ptr<base::Value> value(deserializer.Deserialize(NULL, &error));
LOG_IF(WARNING, !value.get()) << "Failed to parse " << path.value()
<< ": " << error;
return value.Pass();
« no previous file with comments | « extensions/utility/unpacker.cc ('k') | remoting/host/pairing_registry_delegate_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698