| Index: chrome/browser/prefs/chrome_pref_service_factory.cc
|
| diff --git a/chrome/browser/prefs/chrome_pref_service_factory.cc b/chrome/browser/prefs/chrome_pref_service_factory.cc
|
| index 81b2c6670c8f92deaf05cf5067846753f6acb13f..88acebfc5e803961e9f06131485d656a27b8afc3 100644
|
| --- a/chrome/browser/prefs/chrome_pref_service_factory.cc
|
| +++ b/chrome/browser/prefs/chrome_pref_service_factory.cc
|
| @@ -307,7 +307,6 @@ GetTrackingConfiguration() {
|
| return result;
|
| }
|
|
|
| -
|
| // Shows notifications which correspond to PersistentPrefStore's reading errors.
|
| void HandleReadError(PersistentPrefStore::PrefReadError error) {
|
| // Sample the histogram also for the successful case in order to get a
|
| @@ -337,6 +336,13 @@ void HandleReadError(PersistentPrefStore::PrefReadError error) {
|
| #else
|
| // On ChromeOS error screen with message about broken local state
|
| // will be displayed.
|
| +
|
| + // A supplementary error message about broken local state - is included
|
| + // in logs and user feedbacks.
|
| + if (error != PersistentPrefStore::PREF_READ_ERROR_NONE &&
|
| + error != PersistentPrefStore::PREF_READ_ERROR_NO_FILE) {
|
| + LOG(ERROR) << "An error happened during prefs loading: " << error;
|
| + }
|
| #endif
|
| }
|
| }
|
|
|