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

Unified Diff: chrome/browser/autocomplete/url_prefix.h

Issue 105193002: Replace string16 with base::string16. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
Index: chrome/browser/autocomplete/url_prefix.h
diff --git a/chrome/browser/autocomplete/url_prefix.h b/chrome/browser/autocomplete/url_prefix.h
index a893f3ac26c329e5402d7710d78076de33cf9ac8..962e73e2f8aa32289406fec7f2d9b40d83520b67 100644
--- a/chrome/browser/autocomplete/url_prefix.h
+++ b/chrome/browser/autocomplete/url_prefix.h
@@ -15,22 +15,22 @@ typedef std::vector<URLPrefix> URLPrefixes;
// A URL prefix; combinations of schemes and (least significant) domain labels
// that may be inferred from certain URL-like input strings.
struct URLPrefix {
- URLPrefix(const string16& prefix, size_t num_components);
+ URLPrefix(const base::string16& prefix, size_t num_components);
// Returns a vector of URL prefixes sorted by descending number of components.
static const URLPrefixes& GetURLPrefixes();
// Returns if the argument is a valid URL prefix.
- static bool IsURLPrefix(const string16& prefix);
+ static bool IsURLPrefix(const base::string16& prefix);
// Returns the URL prefix of |text| with the most components, or NULL.
// |prefix_suffix| (which may be empty) is appended to every attempted prefix,
// which is useful for finding the innermost match of user input in a URL.
// Performs case insensitive string comparison.
- static const URLPrefix* BestURLPrefix(const string16& text,
- const string16& prefix_suffix);
+ static const URLPrefix* BestURLPrefix(const base::string16& text,
+ const base::string16& prefix_suffix);
- string16 prefix;
+ base::string16 prefix;
// The number of URL components (scheme, domain label, etc.) in the prefix.
// For example, "http://foo.com" and "www.bar.com" each have one component,
« no previous file with comments | « chrome/browser/autocomplete/shortcuts_provider_unittest.cc ('k') | chrome/browser/autocomplete/url_prefix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698