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

Unified Diff: chrome/browser/autocomplete/autocomplete_input.cc

Issue 89243003: Move EmptyString, kWhitespace and the BOM to base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | « base/strings/string_util_constants.cc ('k') | chrome/browser/autocomplete/keyword_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/autocomplete_input.cc
diff --git a/chrome/browser/autocomplete/autocomplete_input.cc b/chrome/browser/autocomplete/autocomplete_input.cc
index 110fbeaf7377eacdb4b06fd43d72ff465b10d2d0..2de3f961327561e81d8e7cde5a799b56ebbe64da 100644
--- a/chrome/browser/autocomplete/autocomplete_input.cc
+++ b/chrome/browser/autocomplete/autocomplete_input.cc
@@ -121,12 +121,12 @@ std::string AutocompleteInput::TypeToString(Type type) {
// static
AutocompleteInput::Type AutocompleteInput::Parse(
- const string16& text,
- const string16& desired_tld,
+ const base::string16& text,
+ const base::string16& desired_tld,
url_parse::Parsed* parts,
- string16* scheme,
+ base::string16* scheme,
GURL* canonicalized_url) {
- const size_t first_non_white = text.find_first_not_of(kWhitespaceUTF16, 0);
+ size_t first_non_white = text.find_first_not_of(base::kWhitespaceUTF16, 0);
if (first_non_white == string16::npos)
return INVALID; // All whitespace.
« no previous file with comments | « base/strings/string_util_constants.cc ('k') | chrome/browser/autocomplete/keyword_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698