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

Unified Diff: chrome/browser/sync/glue/preference_model_associator.cc

Issue 1120006: detect preferences errors (Closed)
Patch Set: changes from review Created 10 years, 9 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
Index: chrome/browser/sync/glue/preference_model_associator.cc
diff --git a/chrome/browser/sync/glue/preference_model_associator.cc b/chrome/browser/sync/glue/preference_model_associator.cc
index 169da24cdc5b36167101e85fe470d32223c0ff5b..5021b4bd4c107b2f5cdc93d8c60a27b82c72bd92 100644
--- a/chrome/browser/sync/glue/preference_model_associator.cc
+++ b/chrome/browser/sync/glue/preference_model_associator.cc
@@ -84,7 +84,7 @@ bool PreferenceModelAssociator::AssociateModels() {
std::wstring pref_name = UTF8ToWide(preference.name());
if (!value.get()) {
LOG(ERROR) << "Failed to deserialize preference value: "
- << reader.error_message();
+ << reader.GetErrorMessage();
error_handler_->OnUnrecoverableError();
return false;
}
« no previous file with comments | « chrome/browser/sync/glue/preference_change_processor.cc ('k') | chrome/common/extensions/extension_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698