diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-09 03:54:00 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-09 03:54:00 +0000 |
commit | 2dc383ce26fed9d2964fd75c9364d76f678753a6 (patch) | |
tree | fff743f4e2fbb47ea9fc8f1b5d0805794cb45f24 /chrome/browser/debugger/devtools_http_protocol_handler.cc | |
parent | 94e840ab0edbcb8c0bfc092c72171423bad4b2f8 (diff) | |
download | chromium_src-2dc383ce26fed9d2964fd75c9364d76f678753a6.zip chromium_src-2dc383ce26fed9d2964fd75c9364d76f678753a6.tar.gz chromium_src-2dc383ce26fed9d2964fd75c9364d76f678753a6.tar.bz2 |
Rename ChromeThread to BrowserThread Part9:
- Rename entries under debbuger, device_orientation, dom_ui.
BUG=56926
TEST=trybots
Review URL: http://codereview.chromium.org/3684001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62074 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/debugger/devtools_http_protocol_handler.cc')
-rw-r--r-- | chrome/browser/debugger/devtools_http_protocol_handler.cc | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/chrome/browser/debugger/devtools_http_protocol_handler.cc b/chrome/browser/debugger/devtools_http_protocol_handler.cc index 4ab1a79..12e086d 100644 --- a/chrome/browser/debugger/devtools_http_protocol_handler.cc +++ b/chrome/browser/debugger/devtools_http_protocol_handler.cc @@ -40,8 +40,8 @@ class DevToolsClientHostImpl : public DevToolsClientHost { // DevToolsClientHost interface virtual void InspectedTabClosing() { - ChromeThread::PostTask( - ChromeThread::IO, + BrowserThread::PostTask( + BrowserThread::IO, FROM_HERE, NewRunnableMethod(socket_, &HttpListenSocket::Close)); @@ -74,14 +74,14 @@ DevToolsHttpProtocolHandler::~DevToolsHttpProtocolHandler() { } void DevToolsHttpProtocolHandler::Start() { - ChromeThread::PostTask( - ChromeThread::IO, FROM_HERE, + BrowserThread::PostTask( + BrowserThread::IO, FROM_HERE, NewRunnableMethod(this, &DevToolsHttpProtocolHandler::Init)); } void DevToolsHttpProtocolHandler::Stop() { - ChromeThread::PostTask( - ChromeThread::IO, FROM_HERE, + BrowserThread::PostTask( + BrowserThread::IO, FROM_HERE, NewRunnableMethod(this, &DevToolsHttpProtocolHandler::Teardown)); } @@ -90,8 +90,8 @@ void DevToolsHttpProtocolHandler::OnHttpRequest( const HttpServerRequestInfo& info) { if (info.path == "" || info.path == "/") { // Pages discovery request. - ChromeThread::PostTask( - ChromeThread::UI, + BrowserThread::PostTask( + BrowserThread::UI, FROM_HERE, NewRunnableMethod(this, &DevToolsHttpProtocolHandler::OnHttpRequestUI, @@ -117,8 +117,8 @@ void DevToolsHttpProtocolHandler::OnHttpRequest( void DevToolsHttpProtocolHandler::OnWebSocketRequest( HttpListenSocket* socket, const HttpServerRequestInfo& request) { - ChromeThread::PostTask( - ChromeThread::UI, + BrowserThread::PostTask( + BrowserThread::UI, FROM_HERE, NewRunnableMethod( this, @@ -129,8 +129,8 @@ void DevToolsHttpProtocolHandler::OnWebSocketRequest( void DevToolsHttpProtocolHandler::OnWebSocketMessage(HttpListenSocket* socket, const std::string& data) { - ChromeThread::PostTask( - ChromeThread::UI, + BrowserThread::PostTask( + BrowserThread::UI, FROM_HERE, NewRunnableMethod( this, @@ -154,8 +154,8 @@ void DevToolsHttpProtocolHandler::OnClose(HttpListenSocket* socket) { socket_to_requests_io_.erase(socket); } - ChromeThread::PostTask( - ChromeThread::UI, + BrowserThread::PostTask( + BrowserThread::UI, FROM_HERE, NewRunnableMethod( this, @@ -367,8 +367,8 @@ void DevToolsHttpProtocolHandler::RequestCompleted(URLRequest* request) { void DevToolsHttpProtocolHandler::Send200(HttpListenSocket* socket, const std::string& data, const std::string& mime_type) { - ChromeThread::PostTask( - ChromeThread::IO, FROM_HERE, + BrowserThread::PostTask( + BrowserThread::IO, FROM_HERE, NewRunnableMethod(socket, &HttpListenSocket::Send200, data, @@ -376,16 +376,16 @@ void DevToolsHttpProtocolHandler::Send200(HttpListenSocket* socket, } void DevToolsHttpProtocolHandler::Send404(HttpListenSocket* socket) { - ChromeThread::PostTask( - ChromeThread::IO, FROM_HERE, + BrowserThread::PostTask( + BrowserThread::IO, FROM_HERE, NewRunnableMethod(socket, &HttpListenSocket::Send404)); } void DevToolsHttpProtocolHandler::Send500(HttpListenSocket* socket, const std::string& message) { - ChromeThread::PostTask( - ChromeThread::IO, FROM_HERE, + BrowserThread::PostTask( + BrowserThread::IO, FROM_HERE, NewRunnableMethod(socket, &HttpListenSocket::Send500, message)); @@ -394,8 +394,8 @@ void DevToolsHttpProtocolHandler::Send500(HttpListenSocket* socket, void DevToolsHttpProtocolHandler::AcceptWebSocket( HttpListenSocket* socket, const HttpServerRequestInfo& request) { - ChromeThread::PostTask( - ChromeThread::IO, FROM_HERE, + BrowserThread::PostTask( + BrowserThread::IO, FROM_HERE, NewRunnableMethod(socket, &HttpListenSocket::AcceptWebSocket, request)); |