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

Unified Diff: chrome/browser/ui/gtk/browser_titlebar.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/shell_integration_linux.cc ('k') | chrome/common/auto_start_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/browser_titlebar.cc
diff --git a/chrome/browser/ui/gtk/browser_titlebar.cc b/chrome/browser/ui/gtk/browser_titlebar.cc
index 167664d1095c74876a9c12a081f0ffdf8a22d635..c7fcb793576edf8b17bf2f44c34bca1e42fa1a2b 100644
--- a/chrome/browser/ui/gtk/browser_titlebar.cc
+++ b/chrome/browser/ui/gtk/browser_titlebar.cc
@@ -14,7 +14,7 @@
#include "base/i18n/rtl.h"
#include "base/memory/singleton.h"
#include "base/string_piece.h"
-#include "base/string_tokenizer.h"
+#include "base/strings/string_tokenizer.h"
#include "base/utf_string_conversions.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/browser_process.h"
@@ -406,8 +406,8 @@ void BrowserTitlebar::BuildButtons(const std::string& button_string) {
top_padding_right_ = NULL;
bool left_side = true;
- StringTokenizer tokenizer(button_string, ":,");
- tokenizer.set_options(StringTokenizer::RETURN_DELIMS);
+ base::StringTokenizer tokenizer(button_string, ":,");
+ tokenizer.set_options(base::StringTokenizer::RETURN_DELIMS);
int left_count = 0;
int right_count = 0;
while (tokenizer.GetNext()) {
« no previous file with comments | « chrome/browser/shell_integration_linux.cc ('k') | chrome/common/auto_start_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698