diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-30 01:49:06 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-30 01:49:06 +0000 |
commit | 95d291980d768c38e1f70bc041957870913e07f6 (patch) | |
tree | 383ea24e44f58696c3cf2871f44846f5a973f473 /chrome/browser/chrome_thread.h | |
parent | bb3bb6d013ca8b7b9fde9b985950f181cc32577a (diff) | |
download | chromium_src-95d291980d768c38e1f70bc041957870913e07f6.zip chromium_src-95d291980d768c38e1f70bc041957870913e07f6.tar.gz chromium_src-95d291980d768c38e1f70bc041957870913e07f6.tar.bz2 |
Get rid of MessageLoop* caching in extensions code.
BUG=25354
Review URL: http://codereview.chromium.org/345023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30550 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chrome_thread.h')
-rw-r--r-- | chrome/browser/chrome_thread.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/chrome_thread.h b/chrome/browser/chrome_thread.h index c135d34..4240127 100644 --- a/chrome/browser/chrome_thread.h +++ b/chrome/browser/chrome_thread.h @@ -121,14 +121,14 @@ class ChromeThread : public base::Thread { // unless you've specifically spun up the threads, but be mindful of it. static bool CurrentlyOn(ID identifier); - private: - // Common initialization code for the constructors. - void Initialize(); - // If the current message loop is one of the known threads, returns true and // sets identifier to its ID. Otherwise returns false. static bool GetCurrentThreadIdentifier(ID* identifier); + private: + // Common initialization code for the constructors. + void Initialize(); + static bool PostTaskHelper( ID identifier, const tracked_objects::Location& from_here, |