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

Unified Diff: chrome_frame/html_utils.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 | « chrome/renderer/chrome_content_renderer_client.cc ('k') | chrome_frame/test/test_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/html_utils.cc
diff --git a/chrome_frame/html_utils.cc b/chrome_frame/html_utils.cc
index 3192f145d447bd68e6c6882a239f6cafe81b4d04..ef49b06be90d600905f63fe0bb7010431a58aba7 100644
--- a/chrome_frame/html_utils.cc
+++ b/chrome_frame/html_utils.cc
@@ -8,8 +8,8 @@
#include <urlmon.h>
#include "base/string_util.h"
-#include "base/string_tokenizer.h"
#include "base/stringprintf.h"
+#include "base/strings/string_tokenizer.h"
#include "chrome/common/chrome_version_info.h"
#include "chrome_frame/utils.h"
#include "net/base/net_util.h"
@@ -82,8 +82,8 @@ bool HTMLScanner::StringRange::GetTagAttribute(const wchar_t* attribute_name,
// from string_util.h.
std::string search_name_ascii(WideToASCII(attribute_name));
- WStringTokenizer tokenizer(start_, end_, L" =/");
- tokenizer.set_options(WStringTokenizer::RETURN_DELIMS);
+ base::WStringTokenizer tokenizer(start_, end_, L" =/");
+ tokenizer.set_options(base::WStringTokenizer::RETURN_DELIMS);
// Set up the quote chars so that we get quoted attribute values as single
// tokens.
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | chrome_frame/test/test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698