diff options
author | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-26 05:55:10 +0000 |
---|---|---|
committer | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-26 05:55:10 +0000 |
commit | ab820df141e6ab45fd8a095d2f57f91df44e6c9c (patch) | |
tree | 20ae83601c4a484cd74c908b62bc9d702ef27996 /chrome/common/pref_service.h | |
parent | 4d9bdfafcd1393385860bc9fe947e0c07719c0f4 (diff) | |
download | chromium_src-ab820df141e6ab45fd8a095d2f57f91df44e6c9c.zip chromium_src-ab820df141e6ab45fd8a095d2f57f91df44e6c9c.tar.gz chromium_src-ab820df141e6ab45fd8a095d2f57f91df44e6c9c.tar.bz2 |
Chrome changes corresponding to my message_loop_type CL.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1363 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/pref_service.h')
-rw-r--r-- | chrome/common/pref_service.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/common/pref_service.h b/chrome/common/pref_service.h index 9b552f2..32c012f 100644 --- a/chrome/common/pref_service.h +++ b/chrome/common/pref_service.h @@ -28,7 +28,10 @@ class NotificationObserver; class Preference; + +namespace base { class Thread; +} class PrefService : public NonThreadSafe { public: @@ -88,12 +91,12 @@ class PrefService : public NonThreadSafe { // (since it's on a different thread). This should only be used if we need // to save immediately (basically, during shutdown). Otherwise, you should // use ScheduleSavePersistentPrefs. - bool SavePersistentPrefs(Thread* thread) const; + bool SavePersistentPrefs(base::Thread* thread) const; // Starts a timer that ends up saving the preferences. This helps to batch // together save requests that happen in a close time frame so we don't write // to disk too frequently. - void ScheduleSavePersistentPrefs(Thread* thread); + void ScheduleSavePersistentPrefs(base::Thread* thread); DictionaryValue* transient() { return transient_.get(); } |