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

Unified Diff: chrome/common/pref_service.cc

Issue 342068: Third patch in getting rid of caching MessageLoop pointers and always using C... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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/common/pref_service.h ('k') | chrome/common/pref_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/pref_service.cc
===================================================================
--- chrome/common/pref_service.cc (revision 30650)
+++ chrome/common/pref_service.cc (working copy)
@@ -10,7 +10,6 @@
#include "base/stl_util-inl.h"
#include "base/string_util.h"
#include "base/sys_string_conversions.h"
-#include "base/thread.h"
#include "build/build_config.h"
#include "chrome/common/json_value_serializer.h"
#include "chrome/common/notification_service.h"
@@ -61,11 +60,10 @@
} // namespace
-PrefService::PrefService(const FilePath& pref_filename,
- const base::Thread* backend_thread)
+PrefService::PrefService(const FilePath& pref_filename)
: persistent_(new DictionaryValue),
transient_(new DictionaryValue),
- writer_(pref_filename, backend_thread) {
+ writer_(pref_filename) {
ReloadPersistentPrefs();
}
« no previous file with comments | « chrome/common/pref_service.h ('k') | chrome/common/pref_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698