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

Unified Diff: chrome/browser/web_applications/web_app.cc

Issue 273193004: Move some content url constants to /url. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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/web_applications/web_app.cc
diff --git a/chrome/browser/web_applications/web_app.cc b/chrome/browser/web_applications/web_app.cc
index a588a94ba2bc5f3008fabddc51624fec76406a4d..83cf999aa7174d8e63eb7a24a59e08b7b3343119 100644
--- a/chrome/browser/web_applications/web_app.cc
+++ b/chrome/browser/web_applications/web_app.cc
@@ -439,9 +439,9 @@ void UpdateAllShortcuts(const base::string16& old_app_title,
bool IsValidUrl(const GURL& url) {
static const char* const kValidUrlSchemes[] = {
- content::kFileScheme,
- content::kFileSystemScheme,
- content::kFtpScheme,
+ url::kFileScheme,
+ url::kFileSystemScheme,
+ url::kFtpScheme,
url::kHttpScheme,
url::kHttpsScheme,
extensions::kExtensionScheme,

Powered by Google App Engine
This is Rietveld 408576698