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

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

Issue 254763005: Move some content url constants to /url. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add some missing files. Created 6 years, 8 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 135b6f4824ba30d0db978ceb0aa0788580e453dd..1da6c7694e28f0db3a43a3a2890aff7afa99c4fe 100644
--- a/chrome/browser/web_applications/web_app.cc
+++ b/chrome/browser/web_applications/web_app.cc
@@ -33,6 +33,7 @@
#include "ui/gfx/image/image.h"
#include "ui/gfx/image/image_family.h"
#include "ui/gfx/image/image_skia.h"
+#include "url/url_constants.h"
#if defined(OS_WIN)
#include "ui/gfx/icon_util.h"
@@ -439,8 +440,8 @@ bool IsValidUrl(const GURL& url) {
content::kFileScheme,
content::kFileSystemScheme,
content::kFtpScheme,
- content::kHttpScheme,
- content::kHttpsScheme,
+ url::kHttpScheme,
+ url::kHttpsScheme,
extensions::kExtensionScheme,
};

Powered by Google App Engine
This is Rietveld 408576698