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

Unified Diff: chrome/browser/extensions/api/web_navigation/frame_navigation_state.cc

Issue 254763005: Move some content url constants to /url. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Initial patches. 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/extensions/api/web_navigation/frame_navigation_state.cc
diff --git a/chrome/browser/extensions/api/web_navigation/frame_navigation_state.cc b/chrome/browser/extensions/api/web_navigation/frame_navigation_state.cc
index 83562214c456526724909fb57112228a93827a72..bbed472f65cc7edd5ed75122ad8167f972e39a6c 100644
--- a/chrome/browser/extensions/api/web_navigation/frame_navigation_state.cc
+++ b/chrome/browser/extensions/api/web_navigation/frame_navigation_state.cc
@@ -7,6 +7,7 @@
#include "base/logging.h"
#include "chrome/common/url_constants.h"
#include "extensions/common/constants.h"
+#include "net/base/url_constants.h"
namespace extensions {
@@ -14,14 +15,10 @@ namespace {
// URL schemes for which we'll send events.
const char* kValidSchemes[] = {
- content::kChromeUIScheme,
- content::kHttpScheme,
- content::kHttpsScheme,
- content::kFileScheme,
- content::kFtpScheme,
- content::kJavaScriptScheme,
- content::kDataScheme,
- content::kFileSystemScheme,
+ content::kChromeUIScheme, net::kHttpScheme,
blundell 2014/04/28 09:11:17 nit: I prefer the formatting as it was previously.
Sungmann Cho 2014/04/29 04:50:30 Done.
+ net::kHttpsScheme, content::kFileScheme,
+ content::kFtpScheme, content::kJavaScriptScheme,
+ content::kDataScheme, content::kFileSystemScheme,
};
} // namespace

Powered by Google App Engine
This is Rietveld 408576698