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

Unified Diff: net/http/http_auth.cc

Issue 12087091: Move string tokenizer to base/strings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort Created 7 years, 11 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/ftp/ftp_util.cc ('k') | net/http/http_content_disposition.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_auth.cc
diff --git a/net/http/http_auth.cc b/net/http/http_auth.cc
index 08f70c0a3bb313c0b16a8cb340fdd46b3ffb961c..fb7fc5dc2cf1dd8901413644a774f8ef668c5580 100644
--- a/net/http/http_auth.cc
+++ b/net/http/http_auth.cc
@@ -8,6 +8,7 @@
#include "base/basictypes.h"
#include "base/string_util.h"
+#include "base/strings/string_tokenizer.h"
#include "net/base/net_errors.h"
#include "net/http/http_auth_handler.h"
#include "net/http/http_auth_handler_factory.h"
@@ -121,7 +122,7 @@ void HttpAuth::ChallengeTokenizer::Init(std::string::const_iterator begin,
// The first space-separated token is the auth-scheme.
// NOTE: we are more permissive than RFC 2617 which says auth-scheme
// is separated by 1*SP.
- StringTokenizer tok(begin, end, HTTP_LWS);
+ base::StringTokenizer tok(begin, end, HTTP_LWS);
if (!tok.GetNext()) {
// Default param and scheme iterators provide empty strings
return;
« no previous file with comments | « net/ftp/ftp_util.cc ('k') | net/http/http_content_disposition.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698