diff options
author | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-19 20:58:10 +0000 |
---|---|---|
committer | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-19 20:58:10 +0000 |
commit | 184fac5add06d5f4670fa6be4a4d3b39232d51bb (patch) | |
tree | 7efc1d20146fcafdbe408fa67292117c41e9393f /cc/proxy.cc | |
parent | fb7ffba75e81a79436434bab0715be0d6e67bc07 (diff) | |
download | chromium_src-184fac5add06d5f4670fa6be4a4d3b39232d51bb.zip chromium_src-184fac5add06d5f4670fa6be4a4d3b39232d51bb.tar.gz chromium_src-184fac5add06d5f4670fa6be4a4d3b39232d51bb.tar.bz2 |
cc: Rename cc classes and members to match filenames
BUG=155413
Review URL: https://codereview.chromium.org/11189043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163052 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/proxy.cc')
-rw-r--r-- | cc/proxy.cc | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/cc/proxy.cc b/cc/proxy.cc index e9f0d09..390d0a6 100644 --- a/cc/proxy.cc +++ b/cc/proxy.cc @@ -16,36 +16,36 @@ bool implThreadIsOverridden = false; bool s_isMainThreadBlocked = false; base::PlatformThreadId threadIDOverridenToBeImplThread; #endif -CCThread* s_mainThread = 0; -CCThread* s_implThread = 0; +Thread* s_mainThread = 0; +Thread* s_implThread = 0; } -void CCProxy::setMainThread(CCThread* thread) +void Proxy::setMainThread(Thread* thread) { s_mainThread = thread; } -CCThread* CCProxy::mainThread() +Thread* Proxy::mainThread() { return s_mainThread; } -bool CCProxy::hasImplThread() +bool Proxy::hasImplThread() { return s_implThread; } -void CCProxy::setImplThread(CCThread* thread) +void Proxy::setImplThread(Thread* thread) { s_implThread = thread; } -CCThread* CCProxy::implThread() +Thread* Proxy::implThread() { return s_implThread; } -CCThread* CCProxy::currentThread() +Thread* Proxy::currentThread() { base::PlatformThreadId currentThreadIdentifier = base::PlatformThread::CurrentId(); if (s_mainThread && s_mainThread->threadID() == currentThreadIdentifier) @@ -55,7 +55,7 @@ CCThread* CCProxy::currentThread() return 0; } -bool CCProxy::isMainThread() +bool Proxy::isMainThread() { #ifndef NDEBUG DCHECK(s_mainThread); @@ -67,7 +67,7 @@ bool CCProxy::isMainThread() #endif } -bool CCProxy::isImplThread() +bool Proxy::isImplThread() { #ifndef NDEBUG base::PlatformThreadId implThreadID = s_implThread ? s_implThread->threadID() : 0; @@ -80,7 +80,7 @@ bool CCProxy::isImplThread() } #ifndef NDEBUG -void CCProxy::setCurrentThreadIsImplThread(bool isImplThread) +void Proxy::setCurrentThreadIsImplThread(bool isImplThread) { implThreadIsOverridden = isImplThread; if (isImplThread) @@ -88,7 +88,7 @@ void CCProxy::setCurrentThreadIsImplThread(bool isImplThread) } #endif -bool CCProxy::isMainThreadBlocked() +bool Proxy::isMainThreadBlocked() { #ifndef NDEBUG return s_isMainThreadBlocked; @@ -98,18 +98,18 @@ bool CCProxy::isMainThreadBlocked() } #ifndef NDEBUG -void CCProxy::setMainThreadBlocked(bool isMainThreadBlocked) +void Proxy::setMainThreadBlocked(bool isMainThreadBlocked) { s_isMainThreadBlocked = isMainThreadBlocked; } #endif -CCProxy::CCProxy() +Proxy::Proxy() { DCHECK(isMainThread()); } -CCProxy::~CCProxy() +Proxy::~Proxy() { DCHECK(isMainThread()); } |