diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-16 21:48:07 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-16 21:48:07 +0000 |
commit | c9fcaecb9eb89955f6f9602d4fd73d15b3fe6420 (patch) | |
tree | b1f507081a5d6c38c2c56f12d2715f3de6f13c5a | |
parent | 036b16e3f7e556571e6b71c09de705b306d95073 (diff) | |
download | chromium_src-c9fcaecb9eb89955f6f9602d4fd73d15b3fe6420.zip chromium_src-c9fcaecb9eb89955f6f9602d4fd73d15b3fe6420.tar.gz chromium_src-c9fcaecb9eb89955f6f9602d4fd73d15b3fe6420.tar.bz2 |
[Sync] Rename core_message_loop to sync_loop
BUG=88976
TEST=
Review URL: http://codereview.chromium.org/7185002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89404 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/sync/glue/sync_backend_host.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/chrome/browser/sync/glue/sync_backend_host.cc b/chrome/browser/sync/glue/sync_backend_host.cc index f83755f..0f8b3ed 100644 --- a/chrome/browser/sync/glue/sync_backend_host.cc +++ b/chrome/browser/sync/glue/sync_backend_host.cc @@ -1145,9 +1145,9 @@ void SyncBackendHost::Core::SetParentJsEventRouter(JsEventRouter* router) { DCHECK_EQ(MessageLoop::current(), host_->frontend_loop_); DCHECK(router); parent_router_ = router; - MessageLoop* core_message_loop = host_->sync_thread_.message_loop(); - CHECK(core_message_loop); - core_message_loop->PostTask( + MessageLoop* sync_loop = host_->sync_thread_.message_loop(); + CHECK(sync_loop); + sync_loop->PostTask( FROM_HERE, NewRunnableMethod(this, &SyncBackendHost::Core::ConnectChildJsEventRouter)); @@ -1156,9 +1156,9 @@ void SyncBackendHost::Core::SetParentJsEventRouter(JsEventRouter* router) { void SyncBackendHost::Core::RemoveParentJsEventRouter() { DCHECK_EQ(MessageLoop::current(), host_->frontend_loop_); parent_router_ = NULL; - MessageLoop* core_message_loop = host_->sync_thread_.message_loop(); - CHECK(core_message_loop); - core_message_loop->PostTask( + MessageLoop* sync_loop = host_->sync_thread_.message_loop(); + CHECK(sync_loop); + sync_loop->PostTask( FROM_HERE, NewRunnableMethod(this, &SyncBackendHost::Core::DisconnectChildJsEventRouter)); @@ -1173,9 +1173,9 @@ void SyncBackendHost::Core::ProcessMessage( const std::string& name, const JsArgList& args, const JsEventHandler* sender) { DCHECK_EQ(MessageLoop::current(), host_->frontend_loop_); - MessageLoop* core_message_loop = host_->sync_thread_.message_loop(); - CHECK(core_message_loop); - core_message_loop->PostTask( + MessageLoop* sync_loop = host_->sync_thread_.message_loop(); + CHECK(sync_loop); + sync_loop->PostTask( FROM_HERE, NewRunnableMethod(this, &SyncBackendHost::Core::DoProcessMessage, |