summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chrome_plugin_host.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-10 22:24:48 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-10 22:24:48 +0000
commitd04e76609929454e853117ea8c544774e48d50ed (patch)
tree4f86e1ab973913bf5238d036a496028b0774f6c1 /chrome/browser/chrome_plugin_host.cc
parentcc4c9e1dca4f95d322aedff8e520621f4cee5087 (diff)
downloadchromium_src-d04e76609929454e853117ea8c544774e48d50ed.zip
chromium_src-d04e76609929454e853117ea8c544774e48d50ed.tar.gz
chromium_src-d04e76609929454e853117ea8c544774e48d50ed.tar.bz2
Rename ChromeThread to BrowserThread Part14:
- Rename the entries under the first 40 files. BUG=56926 TEST=trybots Review URL: http://codereview.chromium.org/3667002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62126 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chrome_plugin_host.cc')
-rw-r--r--chrome/browser/chrome_plugin_host.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/chrome_plugin_host.cc b/chrome/browser/chrome_plugin_host.cc
index 6bacfd0..ec8e115 100644
--- a/chrome/browser/chrome_plugin_host.cc
+++ b/chrome/browser/chrome_plugin_host.cc
@@ -737,8 +737,8 @@ CPError STDCALL CPB_SendSyncMessage(CPID id, const void *data, uint32 data_len,
CPError STDCALL CPB_PluginThreadAsyncCall(CPID id,
void (*func)(void *),
void *user_data) {
- bool posted = ChromeThread::PostTask(
- ChromeThread::IO, FROM_HERE,
+ bool posted = BrowserThread::PostTask(
+ BrowserThread::IO, FROM_HERE,
NewRunnableFunction(func, user_data));
return posted ? CPERR_SUCCESS : CPERR_FAILURE;
}
@@ -825,8 +825,8 @@ void CPHandleCommand(int command, CPCommandInterface* data,
// brain trying to compile the Tuple3 ctor. This cast works.
int32 context_as_int32 = static_cast<int32>(context);
// Plugins can only be accessed on the IO thread.
- ChromeThread::PostTask(
- ChromeThread::IO, FROM_HERE,
+ BrowserThread::PostTask(
+ BrowserThread::IO, FROM_HERE,
NewRunnableFunction(PluginCommandHandler::HandleCommand,
command, data, context_as_int32));
}