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

Unified Diff: components/history/core/browser/history_database.cc

Issue 1172183002: Move StartsWith[ASCII] to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string_util3
Patch Set: merger Created 5 years, 6 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 | « components/google/core/browser/google_util.cc ('k') | components/html_viewer/web_mime_registry_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/history/core/browser/history_database.cc
diff --git a/components/history/core/browser/history_database.cc b/components/history/core/browser/history_database.cc
index 87653dff83e42dddd4946aa31de959a280d48962..888a30a80c30b9e32b842beac7c24d97c23b3ca9 100644
--- a/components/history/core/browser/history_database.cc
+++ b/components/history/core/browser/history_database.cc
@@ -209,7 +209,7 @@ TopHostsList HistoryDatabase::TopHosts(int num_hosts) {
int64 visit_count = url_sql.ColumnInt64(1);
std::string host = url.host();
- if (StartsWithASCII(host, "www.", true))
+ if (base::StartsWithASCII(host, "www.", true))
host.assign(host, 4, std::string::npos);
host_count[host] += visit_count;
« no previous file with comments | « components/google/core/browser/google_util.cc ('k') | components/html_viewer/web_mime_registry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698