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

Unified Diff: net/http/http_util.cc

Issue 193072: Move StringPiece into the base namespace. It is colliding (Closed)
Patch Set: take 2 Created 11 years, 3 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/http/http_chunked_decoder.cc ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_util.cc
diff --git a/net/http/http_util.cc b/net/http/http_util.cc
index 4381117576cc82daa8769ff2cc365580808b7986..41aa554affb447c7948bd314ccf426a5abe010d2 100644
--- a/net/http/http_util.cc
+++ b/net/http/http_util.cc
@@ -500,8 +500,8 @@ static bool IsLineSegmentContinuable(const char* begin, const char* end) {
// Helper used by AssembleRawHeaders, to find the end of the status line.
static const char* FindStatusLineEnd(const char* begin, const char* end) {
- size_t i = StringPiece(begin, end - begin).find_first_of("\r\n");
- if (i == StringPiece::npos)
+ size_t i = base::StringPiece(begin, end - begin).find_first_of("\r\n");
+ if (i == base::StringPiece::npos)
return end;
return begin + i;
}
« no previous file with comments | « net/http/http_chunked_decoder.cc ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698