summaryrefslogtreecommitdiffstats
path: root/chrome/browser/drive
diff options
context:
space:
mode:
authorprashhir <prashhir@cisco.com>2015-03-05 01:30:57 -0800
committerCommit bot <commit-bot@chromium.org>2015-03-05 09:31:42 +0000
commit54a99450c633d64842217b10fa6841b2a3e7eb77 (patch)
tree743fdd828070286b7fb0223d140e4ded87954b13 /chrome/browser/drive
parent60cab6b4116a9c297795d6e32dc30c28f67a959e (diff)
downloadchromium_src-54a99450c633d64842217b10fa6841b2a3e7eb77.zip
chromium_src-54a99450c633d64842217b10fa6841b2a3e7eb77.tar.gz
chromium_src-54a99450c633d64842217b10fa6841b2a3e7eb77.tar.bz2
Split ValueSerializer into separate Serializer and Deserializer classes.
This CL removes the Deserializer functionality from ValueSerializer, and puts into separate class ValueDeserializer, so that class responsibility is maintained. BUG=455453 TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/925783002 Cr-Commit-Position: refs/heads/master@{#319239}
Diffstat (limited to 'chrome/browser/drive')
-rw-r--r--chrome/browser/drive/fake_drive_service.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/drive/fake_drive_service.cc b/chrome/browser/drive/fake_drive_service.cc
index f34c0d6..7f9b585 100644
--- a/chrome/browser/drive/fake_drive_service.cc
+++ b/chrome/browser/drive/fake_drive_service.cc
@@ -280,7 +280,7 @@ void FakeDriveService::AddApp(const std::string& app_id,
ReplaceSubstringsAfterOffset(
&app_json, 0, "$Removable", is_removable ? "true" : "false");
- JSONStringValueSerializer json(app_json);
+ JSONStringValueDeserializer json(app_json);
std::string error_message;
scoped_ptr<base::Value> value(json.Deserialize(NULL, &error_message));
CHECK_EQ(base::Value::TYPE_DICTIONARY, value->GetType());