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

Unified Diff: net/url_request/url_request_unittest.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 | « net/tools/fetch/http_listen_socket.cc ('k') | net/websockets/websocket_handshake.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_unittest.cc
===================================================================
--- net/url_request/url_request_unittest.cc (revision 54340)
+++ net/url_request/url_request_unittest.cc (working copy)
@@ -22,7 +22,7 @@
#include "base/path_service.h"
#include "base/process_util.h"
#include "base/string_piece.h"
-#include "base/string_util.h"
+#include "base/string_number_conversions.h"
#include "net/base/cookie_monster.h"
#include "net/base/cookie_policy.h"
#include "net/base/load_flags.h"
@@ -172,7 +172,7 @@
{
URLRequest r(GURL("https://www.redirect.com/"), &d);
std::string proxy("localhost:");
- proxy.append(IntToString(kHTTPDefaultPort));
+ proxy.append(base::IntToString(kHTTPDefaultPort));
r.set_context(new TestURLRequestContext(proxy));
r.Start();
@@ -197,7 +197,7 @@
{
URLRequest r(GURL("https://www.server-auth.com/"), &d);
std::string proxy("localhost:");
- proxy.append(IntToString(kHTTPDefaultPort));
+ proxy.append(base::IntToString(kHTTPDefaultPort));
r.set_context(new TestURLRequestContext(proxy));
r.Start();
@@ -1761,7 +1761,7 @@
req.set_upload(CreateSimpleUploadData(kData).get());
net::HttpRequestHeaders headers;
headers.SetHeader(net::HttpRequestHeaders::kContentLength,
- UintToString(arraysize(kData) - 1));
+ base::UintToString(arraysize(kData) - 1));
req.SetExtraRequestHeaders(headers);
req.Start();
MessageLoop::current()->Run();
« no previous file with comments | « net/tools/fetch/http_listen_socket.cc ('k') | net/websockets/websocket_handshake.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698