Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9102)

Unified Diff: chrome_frame/bind_status_callback_impl.cc

Issue 6001010: Move platform_thread to base/threading and put in the base namespace. I left ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/worker/worker_uitest.cc ('k') | chrome_frame/cfproxy_private.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/bind_status_callback_impl.cc
===================================================================
--- chrome_frame/bind_status_callback_impl.cc (revision 70328)
+++ chrome_frame/bind_status_callback_impl.cc (working copy)
@@ -7,6 +7,7 @@
#include "base/logging.h"
#include "base/string_util.h"
#include "base/stringprintf.h"
+#include "base/threading/platform_thread.h"
BSCBImpl::BSCBImpl() {
DVLOG(1) << __FUNCTION__ << me();
@@ -76,7 +77,7 @@
// IBindStatusCallback
HRESULT BSCBImpl::OnStartBinding(DWORD reserved, IBinding* binding) {
DVLOG(1) << __FUNCTION__ << me()
- << base::StringPrintf(" tid=%i", PlatformThread::CurrentId());
+ << base::StringPrintf(" tid=%i", base::PlatformThread::CurrentId());
HRESULT hr = S_OK;
if (delegate_)
hr = delegate_->OnStartBinding(reserved, binding);
@@ -85,7 +86,7 @@
HRESULT BSCBImpl::GetPriority(LONG* priority) {
DVLOG(1) << __FUNCTION__ << me()
- << base::StringPrintf(" tid=%i", PlatformThread::CurrentId());
+ << base::StringPrintf(" tid=%i", base::PlatformThread::CurrentId());
HRESULT hr = S_OK;
if (delegate_)
hr = delegate_->GetPriority(priority);
@@ -94,7 +95,7 @@
HRESULT BSCBImpl::OnLowResource(DWORD reserved) {
DVLOG(1) << __FUNCTION__ << me()
- << base::StringPrintf(" tid=%i", PlatformThread::CurrentId());
+ << base::StringPrintf(" tid=%i", base::PlatformThread::CurrentId());
HRESULT hr = S_OK;
if (delegate_)
hr = delegate_->OnLowResource(reserved);
@@ -105,7 +106,8 @@
ULONG status_code, LPCWSTR status_text) {
DVLOG(1) << __FUNCTION__ << me()
<< base::StringPrintf(" status=%i tid=%i %ls", status_code,
- PlatformThread::CurrentId(), status_text);
+ base::PlatformThread::CurrentId(),
+ status_text);
HRESULT hr = S_OK;
if (delegate_)
delegate_->OnProgress(progress, progress_max, status_code, status_text);
@@ -115,7 +117,7 @@
HRESULT BSCBImpl::OnStopBinding(HRESULT hresult, LPCWSTR error) {
DVLOG(1) << __FUNCTION__ << me()
<< base::StringPrintf(" hr=0x%08X '%ls' tid=%i", hresult, error,
- PlatformThread::CurrentId());
+ base::PlatformThread::CurrentId());
HRESULT hr = S_OK;
if (delegate_)
delegate_->OnStopBinding(hresult, error);
@@ -124,7 +126,7 @@
HRESULT BSCBImpl::GetBindInfo(DWORD* bindf, BINDINFO* bind_info) {
DVLOG(1) << __FUNCTION__ << me()
- << base::StringPrintf(" tid=%i", PlatformThread::CurrentId());
+ << base::StringPrintf(" tid=%i", base::PlatformThread::CurrentId());
HRESULT hr = S_OK;
if (delegate_)
delegate_->GetBindInfo(bindf, bind_info);
@@ -134,7 +136,7 @@
HRESULT BSCBImpl::OnDataAvailable(DWORD bscf, DWORD size,
FORMATETC* format_etc, STGMEDIUM* stgmed) {
DVLOG(1) << __FUNCTION__ << me()
- << base::StringPrintf(" tid=%i", PlatformThread::CurrentId());
+ << base::StringPrintf(" tid=%i", base::PlatformThread::CurrentId());
HRESULT hr = S_OK;
if (delegate_)
hr = delegate_->OnDataAvailable(bscf, size, format_etc, stgmed);
@@ -143,7 +145,7 @@
HRESULT BSCBImpl::OnObjectAvailable(REFIID iid, IUnknown* unk) {
DVLOG(1) << __FUNCTION__ << me()
- << base::StringPrintf(" tid=%i", PlatformThread::CurrentId());
+ << base::StringPrintf(" tid=%i", base::PlatformThread::CurrentId());
HRESULT hr = S_OK;
if (delegate_)
delegate_->OnObjectAvailable(iid, unk);
@@ -154,7 +156,7 @@
HRESULT BSCBImpl::GetBindInfoEx(DWORD* bindf, BINDINFO* bind_info,
DWORD* bindf2, DWORD* reserved) {
DVLOG(1) << __FUNCTION__ << me()
- << base::StringPrintf(" tid=%i", PlatformThread::CurrentId());
+ << base::StringPrintf(" tid=%i", base::PlatformThread::CurrentId());
HRESULT hr = S_OK;
if (delegate_) {
ScopedComPtr<IBindStatusCallbackEx> bscbex;
@@ -169,7 +171,7 @@
DWORD reserved,
LPWSTR* additional_headers) {
DVLOG(1) << __FUNCTION__ << me()
- << base::StringPrintf(" tid=%i", PlatformThread::CurrentId());
+ << base::StringPrintf(" tid=%i", base::PlatformThread::CurrentId());
HRESULT hr = S_OK;
if (delegate_) {
@@ -189,7 +191,7 @@
LPCWSTR request_headers,
LPWSTR* additional_headers) {
DVLOG(1) << __FUNCTION__ << me()
- << base::StringPrintf(" tid=%i", PlatformThread::CurrentId());
+ << base::StringPrintf(" tid=%i", base::PlatformThread::CurrentId());
HRESULT hr = S_OK;
if (delegate_) {
« no previous file with comments | « chrome/worker/worker_uitest.cc ('k') | chrome_frame/cfproxy_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698