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

Unified Diff: chrome/common/auto_start_linux.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/browser/ui/gtk/browser_titlebar.cc ('k') | chrome/common/extensions/csp_validator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/auto_start_linux.cc
diff --git a/chrome/common/auto_start_linux.cc b/chrome/common/auto_start_linux.cc
index 6041f0ef2bd6746db5cebfbfd62aa5e649c500de..142086ab84fb43b3871da814a63ea8941683aaa2 100644
--- a/chrome/common/auto_start_linux.cc
+++ b/chrome/common/auto_start_linux.cc
@@ -9,7 +9,7 @@
#include "base/file_util.h"
#include "base/logging.h"
#include "base/nix/xdg_util.h"
-#include "base/string_tokenizer.h"
+#include "base/strings/string_tokenizer.h"
namespace {
@@ -75,7 +75,7 @@ bool AutoStart::GetAutostartFileValue(const std::string& autostart_filename,
std::string contents;
if (!GetAutostartFileContents(autostart_filename, &contents))
return false;
- StringTokenizer tokenizer(contents, "\n");
+ base::StringTokenizer tokenizer(contents, "\n");
std::string token = value_name + "=";
while (tokenizer.GetNext()) {
if (tokenizer.token().substr(0, token.length()) == token) {
« no previous file with comments | « chrome/browser/ui/gtk/browser_titlebar.cc ('k') | chrome/common/extensions/csp_validator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698