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

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

Issue 328713006: Merge 275988 "Move about://-related constants from //content to ..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/2042/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
« no previous file with comments | « chrome/browser/download/save_page_browsertest.cc ('k') | chrome/browser/extensions/api/tabs/tabs_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/activity_log/uma_policy.cc
===================================================================
--- chrome/browser/extensions/activity_log/uma_policy.cc (revision 276109)
+++ chrome/browser/extensions/activity_log/uma_policy.cc (working copy)
@@ -186,7 +186,7 @@
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 @@
// 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())
« no previous file with comments | « chrome/browser/download/save_page_browsertest.cc ('k') | chrome/browser/extensions/api/tabs/tabs_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698