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

Unified Diff: app/text_elider.cc

Issue 3750001: base: Move SplitString functions into the base namespace and update the callers. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: brett review, reverted changes in o3d due to it's using an old base revision Created 10 years, 2 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 | « app/l10n_util.cc ('k') | base/command_line.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/text_elider.cc
diff --git a/app/text_elider.cc b/app/text_elider.cc
index 3fdb001f77e0b161a453ab192435102dfb54e40d..4f7ddfbdee1b86c125e2cc296c170498d93518f3 100644
--- a/app/text_elider.cc
+++ b/app/text_elider.cc
@@ -123,7 +123,7 @@ std::wstring ElideUrl(const GURL& url,
if (url.SchemeIsFile()) {
// Split the path string using ":"
std::vector<std::wstring> file_path_split;
- SplitString(url_path, L':', &file_path_split);
+ base::SplitString(url_path, L':', &file_path_split);
if (file_path_split.size() > 1) { // File is of type "file:///C:/.."
url_host.clear();
url_domain.clear();
@@ -164,7 +164,7 @@ std::wstring ElideUrl(const GURL& url,
// Parse url_path using '/'.
std::vector<std::wstring> url_path_elements;
- SplitString(url_path, L'/', &url_path_elements);
+ base::SplitString(url_path, L'/', &url_path_elements);
// Get filename - note that for a path ending with /
// such as www.google.com/intl/ads/, the file name is ads/.
« no previous file with comments | « app/l10n_util.cc ('k') | base/command_line.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698