summaryrefslogtreecommitdiffstats
path: root/chrome_frame/http_negotiate.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-01 11:17:37 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-01 11:17:37 +0000
commitd3451d83da3c72c35c0c6b391833fe47f0b4236a (patch)
tree334d32cdf9874f6bbea3534b74f741f82907d30b /chrome_frame/http_negotiate.cc
parent244f335890efb6fa0916b80afdecb80dcb3764a4 (diff)
downloadchromium_src-d3451d83da3c72c35c0c6b391833fe47f0b4236a.zip
chromium_src-d3451d83da3c72c35c0c6b391833fe47f0b4236a.tar.gz
chromium_src-d3451d83da3c72c35c0c6b391833fe47f0b4236a.tar.bz2
chrome_frame: Append base:: in the StringPrintf calls.
(Note: this is a TODO in string_util.h) BUG=None TEST=trybots Review URL: http://codereview.chromium.org/3594002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61166 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/http_negotiate.cc')
-rw-r--r--chrome_frame/http_negotiate.cc17
1 files changed, 8 insertions, 9 deletions
diff --git a/chrome_frame/http_negotiate.cc b/chrome_frame/http_negotiate.cc
index 8a1146e..f68e4ff 100644
--- a/chrome_frame/http_negotiate.cc
+++ b/chrome_frame/http_negotiate.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 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.
@@ -11,8 +11,8 @@
#include "base/logging.h"
#include "base/scoped_ptr.h"
#include "base/string_util.h"
+#include "base/stringprintf.h"
#include "base/utf_string_conversions.h"
-
#include "chrome_frame/bho.h"
#include "chrome_frame/exception_barrier.h"
#include "chrome_frame/html_utils.h"
@@ -20,7 +20,6 @@
#include "chrome_frame/urlmon_moniker.h"
#include "chrome_frame/utils.h"
#include "chrome_frame/vtable_patch_manager.h"
-
#include "net/http/http_response_headers.h"
#include "net/http/http_util.h"
@@ -242,10 +241,10 @@ HRESULT HttpNegotiatePatch::PatchHttpNegotiate(IUnknown* to_patch) {
if (http) {
hr = vtable_patch::PatchInterfaceMethods(http, IHttpNegotiate_PatchInfo);
DLOG_IF(ERROR, FAILED(hr))
- << StringPrintf("HttpNegotiate patch failed 0x%08X", hr);
+ << base::StringPrintf("HttpNegotiate patch failed 0x%08X", hr);
} else {
DLOG(WARNING)
- << StringPrintf("IHttpNegotiate not supported 0x%08X", hr);
+ << base::StringPrintf("IHttpNegotiate not supported 0x%08X", hr);
}
ScopedComPtr<IBindStatusCallback> bscb;
@@ -255,10 +254,10 @@ HRESULT HttpNegotiatePatch::PatchHttpNegotiate(IUnknown* to_patch) {
hr = vtable_patch::PatchInterfaceMethods(bscb,
IBindStatusCallback_PatchInfo);
DLOG_IF(ERROR, FAILED(hr))
- << StringPrintf("BindStatusCallback patch failed 0x%08X", hr);
+ << base::StringPrintf("BindStatusCallback patch failed 0x%08X", hr);
} else {
- DLOG(WARNING) << StringPrintf("IBindStatusCallback not supported 0x%08X",
- hr);
+ DLOG(WARNING) << base::StringPrintf(
+ "IBindStatusCallback not supported 0x%08X", hr);
}
return hr;
}
@@ -347,7 +346,7 @@ HRESULT HttpNegotiatePatch::ReportProgress(
IInternetProtocolSink_ReportProgress_Fn original, IInternetProtocolSink* me,
ULONG status_code, LPCWSTR status_text) {
DLOG(INFO) << __FUNCTION__
- << StringPrintf(" %i %ls", status_code, status_text);
+ << base::StringPrintf(" %i %ls", status_code, status_text);
bool updated_mime_type = false;
if (status_code == BINDSTATUS_MIMETYPEAVAILABLE ||