Chromium Code Reviews

Unified Diff: chrome/browser/themes/browser_theme_provider.cc

Issue 5004002: base: Move StringSplitAlongWhitespace to string_split.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unittests Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « chrome/browser/history/top_sites_database.cc ('k') | net/tools/hresolv/hresolv.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/themes/browser_theme_provider.cc
diff --git a/chrome/browser/themes/browser_theme_provider.cc b/chrome/browser/themes/browser_theme_provider.cc
index ae40eef221f8a9f48f2b2f16daeaf3b5e3cf32a9..c31a3417401c8d2c5a15f7b7ee84b22a1029a3b2 100644
--- a/chrome/browser/themes/browser_theme_provider.cc
+++ b/chrome/browser/themes/browser_theme_provider.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/themes/browser_theme_provider.h"
#include "app/resource_bundle.h"
+#include "base/string_split.h"
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/extensions/extensions_service.h"
@@ -361,7 +362,7 @@ std::string BrowserThemeProvider::AlignmentToString(int alignment) {
// static
int BrowserThemeProvider::StringToAlignment(const std::string& alignment) {
std::vector<std::wstring> split;
- SplitStringAlongWhitespace(UTF8ToWide(alignment), &split);
+ base::SplitStringAlongWhitespace(UTF8ToWide(alignment), &split);
int alignment_mask = 0;
for (std::vector<std::wstring>::iterator alignments(split.begin());
« no previous file with comments | « chrome/browser/history/top_sites_database.cc ('k') | net/tools/hresolv/hresolv.cc » ('j') | no next file with comments »

Powered by Google App Engine