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

Unified Diff: chrome_frame/urlmon_url_request.cc

Issue 3056029: Move the number conversions from string_util to a new file.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 months 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_frame/npapi_url_request.cc ('k') | courgette/ensemble.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/urlmon_url_request.cc
===================================================================
--- chrome_frame/urlmon_url_request.cc (revision 54340)
+++ chrome_frame/urlmon_url_request.cc (working copy)
@@ -7,10 +7,10 @@
#include <wininet.h>
#include <urlmon.h>
-#include "base/scoped_ptr.h"
-#include "base/string_util.h"
#include "base/logging.h"
#include "base/message_loop.h"
+#include "base/scoped_ptr.h"
+#include "base/string_number_conversions.h"
#include "chrome_frame/bind_context_info.h"
#include "chrome_frame/chrome_frame_activex_base.h"
#include "chrome_frame/extra_system_apis.h"
@@ -450,7 +450,7 @@
if (get_upload_data(&bind_info->stgmedData.pstm) == S_OK) {
bind_info->stgmedData.tymed = TYMED_ISTREAM;
DLOG(INFO) << __FUNCTION__ << me() << method()
- << " request with " << Int64ToString(post_data_len())
+ << " request with " << base::Int64ToString(post_data_len())
<< " bytes. url=" << url();
} else {
DLOG(INFO) << __FUNCTION__ << me() << "POST request with no data!";
@@ -543,7 +543,7 @@
// Tack on the Content-Length header since when using an IStream type
// STGMEDIUM, it looks like it doesn't get set for us :(
new_headers = StringPrintf("Content-Length: %s\r\n",
- Int64ToString(post_data_len()).c_str());
+ base::Int64ToString(post_data_len()).c_str());
}
if (!extra_headers().empty()) {
« no previous file with comments | « chrome_frame/npapi_url_request.cc ('k') | courgette/ensemble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698