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

Unified Diff: chrome/browser/extensions/activity_log/uma_policy.cc

Issue 325443002: Move about://-related constants from //content to //url (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: chrome/browser/extensions/activity_log/uma_policy.cc
diff --git a/chrome/browser/extensions/activity_log/uma_policy.cc b/chrome/browser/extensions/activity_log/uma_policy.cc
index 9073591a29bc8ec3def56bad9ab444c44907ca28..2fbb06411b780beea5db0d02edf9c250d4a39bd7 100644
--- a/chrome/browser/extensions/activity_log/uma_policy.cc
+++ b/chrome/browser/extensions/activity_log/uma_policy.cc
@@ -186,7 +186,7 @@ int UmaPolicy::MatchActionToStatus(scoped_refptr<Action> action) {
void UmaPolicy::HistogramOnClose(const std::string& cleaned_url,
content::WebContents* web_contents) {
// Let's try to avoid histogramming useless URLs.
- if (cleaned_url.empty() || cleaned_url == content::kAboutBlankURL ||
+ if (cleaned_url.empty() || cleaned_url == url::kAboutBlankURL ||
cleaned_url == chrome::kChromeUINewTabURL)
return;
@@ -395,7 +395,7 @@ void UmaPolicy::CleanupClosedPage(const std::string& cleaned_url,
// We convert to a string in the hopes that this is faster than Replacements.
std::string UmaPolicy::CleanURL(const GURL& gurl) {
if (gurl.spec().empty())
- return GURL(content::kAboutBlankURL).spec();
+ return GURL(url::kAboutBlankURL).spec();
if (!gurl.is_valid())
return gurl.spec();
if (!gurl.has_ref())

Powered by Google App Engine
This is Rietveld 408576698