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

Unified Diff: chrome/service/service_process_prefs.h

Issue 11027070: Moved JsonPrefStore to use SequencedWorkerPool (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/service/service_process_prefs.h
diff --git a/chrome/service/service_process_prefs.h b/chrome/service/service_process_prefs.h
index 018ce1d8badb13d31bd5f1f5d54cb21a6d14c148..fdbf22e26d64931d2a5954d6c5475c6c333551f9 100644
--- a/chrome/service/service_process_prefs.h
+++ b/chrome/service/service_process_prefs.h
@@ -12,16 +12,16 @@
namespace base {
class DictionaryValue;
class ListValue;
+class SequencedTaskRunner;
}
// Manages persistent preferences for the service process. This is basically a
// thin wrapper around JsonPrefStore for more comfortable use.
class ServiceProcessPrefs {
public:
- // |file_message_loop_proxy| is the MessageLoopProxy for a thread on which
- // file I/O can be done.
+ // |sequenced_task_runner| must be a shutdown-blocking task runner.
ServiceProcessPrefs(const FilePath& pref_filename,
- base::MessageLoopProxy* file_message_loop_proxy);
+ base::SequencedTaskRunner* task_runner);
~ServiceProcessPrefs();
// Read preferences from the backing file.

Powered by Google App Engine
This is Rietveld 408576698