diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-01 11:17:37 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-01 11:17:37 +0000 |
commit | d3451d83da3c72c35c0c6b391833fe47f0b4236a (patch) | |
tree | 334d32cdf9874f6bbea3534b74f741f82907d30b /chrome_frame/chrome_frame_activex_base.h | |
parent | 244f335890efb6fa0916b80afdecb80dcb3764a4 (diff) | |
download | chromium_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/chrome_frame_activex_base.h')
-rw-r--r-- | chrome_frame/chrome_frame_activex_base.h | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/chrome_frame/chrome_frame_activex_base.h b/chrome_frame/chrome_frame_activex_base.h index 611f3ae..84fccd5 100644 --- a/chrome_frame/chrome_frame_activex_base.h +++ b/chrome_frame/chrome_frame_activex_base.h @@ -21,6 +21,7 @@ #include "base/scoped_comptr_win.h" #include "base/scoped_variant_win.h" #include "base/string_util.h" +#include "base/stringprintf.h" #include "base/utf_string_conversions.h" #include "grit/chrome_frame_resources.h" #include "chrome/common/url_constants.h" @@ -70,7 +71,7 @@ class ATL_NO_VTABLE ProxyDIChromeFrameEvents LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp_params, NULL, NULL, NULL); DLOG_IF(ERROR, FAILED(hr)) << "invoke(" << dispid << ") failed" << - StringPrintf("0x%08X", hr); + base::StringPrintf("0x%08X", hr); } } } @@ -489,17 +490,17 @@ END_MSG_MAP() host = "local_host"; } - std::string url = - StringPrintf("%hs:%hs?attach_external_tab&%I64u&%d&%d&%d&%d&%d&%hs", - scheme.c_str(), - host.c_str(), - params.cookie, - params.disposition, - params.dimensions.x(), - params.dimensions.y(), - params.dimensions.width(), - params.dimensions.height(), - params.profile_name.c_str()); + std::string url = base::StringPrintf( + "%hs:%hs?attach_external_tab&%I64u&%d&%d&%d&%d&%d&%hs", + scheme.c_str(), + host.c_str(), + params.cookie, + params.disposition, + params.dimensions.x(), + params.dimensions.y(), + params.dimensions.width(), + params.dimensions.height(), + params.profile_name.c_str()); HostNavigate(GURL(url), GURL(), params.disposition); } @@ -912,7 +913,8 @@ END_MSG_MAP() hr = E_ACCESSDENIED; } } else { - Error(StringPrintf("Event type '%ls' not found", event_type).c_str()); + Error(base::StringPrintf( + "Event type '%ls' not found", event_type).c_str()); hr = E_INVALIDARG; } @@ -1074,7 +1076,7 @@ END_MSG_MAP() hr = AllowFrameToTranslateAccelerator(accel_message); DLOG(INFO) << __FUNCTION__ << " browser response: " - << StringPrintf("0x%08x", hr); + << base::StringPrintf("0x%08x", hr); if (hr != S_OK) { // The WM_SYSCHAR message is not processed by the IOleControlSite |