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

Unified Diff: ui/app_list/search/dictionary_data_store.cc

Issue 1127963002: Implement lossy pref behavior for JsonPrefStore. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prefs-fix-flags
Patch Set: Created 5 years, 7 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: ui/app_list/search/dictionary_data_store.cc
diff --git a/ui/app_list/search/dictionary_data_store.cc b/ui/app_list/search/dictionary_data_store.cc
index 45f53ca6edb58101530b4cc03cf1e5416218c06c..33e17e331e93e901c451b0bfd71c81436b5c85e5 100644
--- a/ui/app_list/search/dictionary_data_store.cc
+++ b/ui/app_list/search/dictionary_data_store.cc
@@ -5,6 +5,7 @@
#include "ui/app_list/search/dictionary_data_store.h"
#include "base/callback.h"
+#include "base/files/important_file_writer.h"
#include "base/json/json_file_value_serializer.h"
#include "base/json/json_string_value_serializer.h"
#include "base/logging.h"
@@ -28,7 +29,7 @@ DictionaryDataStore::DictionaryDataStore(const base::FilePath& data_file,
worker_pool->GetNamedSequenceToken(token),
base::SequencedWorkerPool::SKIP_ON_SHUTDOWN);
writer_.reset(
- new base::ImportantFileWriter(data_file, file_task_runner_.get()));
+ new base::ImportantFileWriterImpl(data_file, file_task_runner_.get()));
cached_dict_.reset(new base::DictionaryValue);
}
« base/prefs/json_pref_store_unittest.cc ('K') | « net/http/transport_security_persister.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698