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

Unified Diff: content/browser/child_process_security_policy_impl.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: content/browser/child_process_security_policy_impl.cc
diff --git a/content/browser/child_process_security_policy_impl.cc b/content/browser/child_process_security_policy_impl.cc
index 6a6a8b6a9bfad6d61897fce8047de66ee3b1b492..480dc64cc63c9aba302d94c2582cfe949dfba7c8 100644
--- a/content/browser/child_process_security_policy_impl.cc
+++ b/content/browser/child_process_security_policy_impl.cc
@@ -22,6 +22,7 @@
#include "net/base/filename_util.h"
#include "net/url_request/url_request.h"
#include "url/gurl.h"
+#include "url/url_constants.h"
#include "webkit/browser/fileapi/file_permission_policy.h"
#include "webkit/browser/fileapi/file_system_url.h"
#include "webkit/browser/fileapi/isolated_context.h"
@@ -308,8 +309,8 @@ class ChildProcessSecurityPolicyImpl::SecurityState {
ChildProcessSecurityPolicyImpl::ChildProcessSecurityPolicyImpl() {
// We know about these schemes and believe them to be safe.
- RegisterWebSafeScheme(kHttpScheme);
- RegisterWebSafeScheme(kHttpsScheme);
+ RegisterWebSafeScheme(url::kHttpScheme);
+ RegisterWebSafeScheme(url::kHttpsScheme);
RegisterWebSafeScheme(kFtpScheme);
RegisterWebSafeScheme(kDataScheme);
RegisterWebSafeScheme("feed");

Powered by Google App Engine
This is Rietveld 408576698