diff options
author | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-08 18:35:14 +0000 |
---|---|---|
committer | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-08 18:35:14 +0000 |
commit | ec86bea44a17187127f3b5a07524dc533d07705c (patch) | |
tree | e81b90e5151fb3b29d345abb4408bf0e1288d099 /chrome/browser/options_util.h | |
parent | 53a8ff8ea2865783e63ffa3d8388a5b023353b39 (diff) | |
download | chromium_src-ec86bea44a17187127f3b5a07524dc533d07705c.zip chromium_src-ec86bea44a17187127f3b5a07524dc533d07705c.tar.gz chromium_src-ec86bea44a17187127f3b5a07524dc533d07705c.tar.bz2 |
Refactor: Eliminte locking from PrefetchObserver and DnsMaster in favor of making these classes non-threadsafe.
Conceptually, PrefetchObserver and DnsMaster live on the IO thread, and their methods can only be called from the IO thread.
In the cases where calls do need to be made from the UI thread, we post a task to be run on the IO loop and return without blocking.
The only time where we block is during shutdown, when we must wait on the IO thread to get us the startup list and referral list.
BUG=25335
Review URL: http://codereview.chromium.org/300032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34066 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/options_util.h')
0 files changed, 0 insertions, 0 deletions