diff options
| author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-12 20:53:23 +0000 |
|---|---|---|
| committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-12 20:53:23 +0000 |
| commit | 8ee65baac4ab9e3beb67674adbc6a210e2708604 (patch) | |
| tree | 44400d118d7813a8d7e16a67f074c6696f8868b3 /chrome_frame/bind_status_callback_impl.cc | |
| parent | f1094b0275c82ead4b9aabbda24f5c2b3e8b4a1b (diff) | |
| download | chromium_src-8ee65baac4ab9e3beb67674adbc6a210e2708604.zip chromium_src-8ee65baac4ab9e3beb67674adbc6a210e2708604.tar.gz chromium_src-8ee65baac4ab9e3beb67674adbc6a210e2708604.tar.bz2 | |
Include base/win/scoped_comptr.h instead of base/scoped_comptr_win.h.
Fix up all the callers to use the new location and namespace.
Also, delete the stub file since it isn't included by anyone more.
(Note: This was a TODO for brettw).
BUG=None
TEST=None
R=brettw@chromium.org
Review URL: http://codereview.chromium.org/6825055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81303 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/bind_status_callback_impl.cc')
| -rw-r--r-- | chrome_frame/bind_status_callback_impl.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome_frame/bind_status_callback_impl.cc b/chrome_frame/bind_status_callback_impl.cc index 9e535e5..4a3c588 100644 --- a/chrome_frame/bind_status_callback_impl.cc +++ b/chrome_frame/bind_status_callback_impl.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -65,7 +65,7 @@ HRESULT BSCBImpl::ReleaseBind() { HRESULT BSCBImpl::QueryService(REFGUID service, REFIID iid, void** object) { HRESULT hr = E_NOINTERFACE; if (delegate_) { - ScopedComPtr<IServiceProvider> svc; + base::win::ScopedComPtr<IServiceProvider> svc; svc.QueryFrom(delegate_); if (svc) { hr = svc->QueryService(service, iid, object); @@ -159,7 +159,7 @@ HRESULT BSCBImpl::GetBindInfoEx(DWORD* bindf, BINDINFO* bind_info, << base::StringPrintf(" tid=%i", base::PlatformThread::CurrentId()); HRESULT hr = S_OK; if (delegate_) { - ScopedComPtr<IBindStatusCallbackEx> bscbex; + base::win::ScopedComPtr<IBindStatusCallbackEx> bscbex; bscbex.QueryFrom(delegate_); if (bscbex) hr = bscbex->GetBindInfoEx(bindf, bind_info, bindf2, reserved); @@ -175,7 +175,7 @@ HRESULT BSCBImpl::BeginningTransaction(LPCWSTR url, LPCWSTR headers, HRESULT hr = S_OK; if (delegate_) { - ScopedComPtr<IHttpNegotiate> http_negotiate; + base::win::ScopedComPtr<IHttpNegotiate> http_negotiate; http_negotiate.QueryFrom(delegate_); if (http_negotiate) { hr = http_negotiate->BeginningTransaction(url, headers, reserved, @@ -195,7 +195,7 @@ HRESULT BSCBImpl::OnResponse(DWORD response_code, LPCWSTR response_headers, HRESULT hr = S_OK; if (delegate_) { - ScopedComPtr<IHttpNegotiate> http_negotiate; + base::win::ScopedComPtr<IHttpNegotiate> http_negotiate; http_negotiate.QueryFrom(delegate_); if (http_negotiate) { hr = http_negotiate->OnResponse(response_code, response_headers, @@ -209,7 +209,7 @@ HRESULT BSCBImpl::GetRootSecurityId(BYTE* security_id, DWORD* security_id_size, DWORD_PTR reserved) { HRESULT hr = S_OK; if (delegate_) { - ScopedComPtr<IHttpNegotiate2> http_negotiate; + base::win::ScopedComPtr<IHttpNegotiate2> http_negotiate; http_negotiate.QueryFrom(delegate_); if (http_negotiate) { hr = http_negotiate->GetRootSecurityId(security_id, security_id_size, @@ -223,7 +223,7 @@ HRESULT BSCBImpl::GetSerializedClientCertContext(BYTE** cert, DWORD* cert_size) { HRESULT hr = S_OK; if (delegate_) { - ScopedComPtr<IHttpNegotiate3> http_negotiate; + base::win::ScopedComPtr<IHttpNegotiate3> http_negotiate; http_negotiate.QueryFrom(delegate_); if (http_negotiate) { return http_negotiate->GetSerializedClientCertContext(cert, cert_size); |
