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

Unified Diff: chrome/browser/chromeos/system/name_value_pairs_parser.cc

Issue 12087091: Move string tokenizer to base/strings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: chrome/browser/chromeos/system/name_value_pairs_parser.cc
diff --git a/chrome/browser/chromeos/system/name_value_pairs_parser.cc b/chrome/browser/chromeos/system/name_value_pairs_parser.cc
index 88f1d4846be68d05ec464f8cb734ce017440b9f1..2c89e7c6340ce679ac2a0febe2be6fb6e8ff899f 100644
--- a/chrome/browser/chromeos/system/name_value_pairs_parser.cc
+++ b/chrome/browser/chromeos/system/name_value_pairs_parser.cc
@@ -10,8 +10,8 @@
#include "base/logging.h"
#include "base/process_util.h"
#include "base/stl_util.h"
-#include "base/string_tokenizer.h"
#include "base/string_util.h"
+#include "base/strings/string_tokenizer.h"
viettrungluu 2013/02/01 17:54:15 ... (etc.)
namespace chromeos { // NOLINT
namespace system {
@@ -70,7 +70,7 @@ bool NameValuePairsParser::ParseNameValuePairsWithComments(
const std::string& comment_delim) {
bool all_valid = true;
// Set up the pair tokenizer.
- StringTokenizer pair_toks(in_string, delim);
+ base::StringTokenizer pair_toks(in_string, delim);
pair_toks.set_quote_chars(kQuoteChars);
// Process token pairs.
while (pair_toks.GetNext()) {

Powered by Google App Engine
This is Rietveld 408576698