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

Unified Diff: chrome/browser/ui/toolbar/origin_chip_info.cc

Issue 325443002: Move about://-related constants from //content to //url (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Android ifx 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/ui/toolbar/origin_chip_info.cc
diff --git a/chrome/browser/ui/toolbar/origin_chip_info.cc b/chrome/browser/ui/toolbar/origin_chip_info.cc
index 0550c2982169d9a14c7db0f902f434e1098d51ca..24b36f9f69e38eb67668e280e48d65990c4068da 100644
--- a/chrome/browser/ui/toolbar/origin_chip_info.cc
+++ b/chrome/browser/ui/toolbar/origin_chip_info.cc
@@ -31,7 +31,8 @@
namespace {
-// For selected kChromeUIScheme and kAboutScheme, return the string resource
+// For selected kChromeUIScheme and url::kAboutScheme, return the string
+// resource
// number for the title of the page. If we don't have a specialized title,
// returns -1.
int StringForChromeHost(const GURL& url) {
@@ -177,7 +178,7 @@ base::string16 OriginChip::LabelFromURLForProfile(const GURL& provided_url,
// About scheme pages. Currently all about: URLs other than about:blank
// redirect to chrome: URLs, so this only affects about:blank.
- if (url.SchemeIs(content::kAboutScheme))
+ if (url.SchemeIs(url::kAboutScheme))
return base::UTF8ToUTF16(url.spec());
// Chrome built-in pages.
« no previous file with comments | « chrome/browser/ui/startup/startup_browser_creator_browsertest.cc ('k') | chrome/browser/ui/toolbar/toolbar_model_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698