diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-07 23:31:46 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-07 23:31:46 +0000 |
commit | 27292912f0150e0f570299f4974b87f44fee7d32 (patch) | |
tree | 1bba291260e82df59d4aaf73a6cfd1e68e379152 /chrome | |
parent | 2f898c45f3ab063d84a94147eef95e2ae406a4be (diff) | |
download | chromium_src-27292912f0150e0f570299f4974b87f44fee7d32.zip chromium_src-27292912f0150e0f570299f4974b87f44fee7d32.tar.gz chromium_src-27292912f0150e0f570299f4974b87f44fee7d32.tar.bz2 |
[Sync] Fixed flipped return value from 61851.
BUG=None
TEST=None
TBR=johnnyg
Review URL: http://codereview.chromium.org/3579018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61881 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/sync/notifier/chrome_system_resources.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/browser/sync/notifier/chrome_system_resources.cc b/chrome/browser/sync/notifier/chrome_system_resources.cc index 11ef0f0..2f851b6 100644 --- a/chrome/browser/sync/notifier/chrome_system_resources.cc +++ b/chrome/browser/sync/notifier/chrome_system_resources.cc @@ -64,17 +64,19 @@ void ChromeSystemResources::ScheduleImmediately( MessageLoop::current()->PostTask(FROM_HERE, task_to_post); } -// The listener thread is just our current thread. +// The listener thread is just our current thread (i.e., the +// notifications thread). void ChromeSystemResources::ScheduleOnListenerThread( invalidation::Closure* task) { DCHECK(non_thread_safe_.CalledOnValidThread()); ScheduleImmediately(task); } -// We're already on a separate thread, so always return true. +// 'Internal thread' means 'not the listener thread'. Since the +// listener thread is the notifications thread, always return false. bool ChromeSystemResources::IsRunningOnInternalThread() { DCHECK(non_thread_safe_.CalledOnValidThread()); - return true; + return false; } void ChromeSystemResources::Log( |