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..9b6ac2d1eeb81fc54b92a82977ca98b34997f6ac 100644 |
--- a/chrome/browser/web_applications/web_app.cc |
+++ b/chrome/browser/web_applications/web_app.cc |
@@ -27,6 +27,7 @@ |
#include "extensions/common/extension.h" |
#include "extensions/common/manifest_handlers/icons_handler.h" |
#include "grit/theme_resources.h" |
+#include "net/base/url_constants.h" |
#include "skia/ext/image_operations.h" |
#include "third_party/skia/include/core/SkBitmap.h" |
#include "ui/base/resource/resource_bundle.h" |
@@ -436,12 +437,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, |
- content::kHttpScheme, |
- content::kHttpsScheme, |
- extensions::kExtensionScheme, |
+ content::kFileScheme, content::kFileSystemScheme, |
+ content::kFtpScheme, net::kHttpScheme, |
+ net::kHttpsScheme, extensions::kExtensionScheme, |
}; |
for (size_t i = 0; i < arraysize(kValidUrlSchemes); ++i) { |