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

Unified Diff: chrome/browser/extensions/user_script_listener_unittest.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 | « chrome/browser/extensions/external_pref_loader.cc ('k') | chrome/browser/prefs/leveldb_pref_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/user_script_listener_unittest.cc
diff --git a/chrome/browser/extensions/user_script_listener_unittest.cc b/chrome/browser/extensions/user_script_listener_unittest.cc
index a8269f39774a0ca3c4c288cd3540e6db7068a6c9..40a440628897fdf4fffa8269f33e7c270c4cf216 100644
--- a/chrome/browser/extensions/user_script_listener_unittest.cc
+++ b/chrome/browser/extensions/user_script_listener_unittest.cc
@@ -77,9 +77,9 @@ class SimpleTestJob : public net::URLRequestTestJob {
base::DictionaryValue* LoadManifestFile(const base::FilePath path,
std::string* error) {
EXPECT_TRUE(base::PathExists(path));
- JSONFileValueSerializer serializer(path);
+ JSONFileValueDeserializer deserializer(path);
return static_cast<base::DictionaryValue*>(
- serializer.Deserialize(NULL, error));
+ deserializer.Deserialize(NULL, error));
}
scoped_refptr<Extension> LoadExtension(const std::string& filename,
« no previous file with comments | « chrome/browser/extensions/external_pref_loader.cc ('k') | chrome/browser/prefs/leveldb_pref_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698