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

Unified Diff: extensions/renderer/dispatcher.cc

Issue 273193004: Move some content url constants to /url. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing files. 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
« no previous file with comments | « extensions/common/url_pattern_set.cc ('k') | url/url_canon_filesystemurl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/dispatcher.cc
diff --git a/extensions/renderer/dispatcher.cc b/extensions/renderer/dispatcher.cc
index bba20872ec3f55ca077f8b93e82ccbf36b676333..df35567b7d9a7845cbcea06e7921b5a0613e9055 100644
--- a/extensions/renderer/dispatcher.cc
+++ b/extensions/renderer/dispatcher.cc
@@ -795,9 +795,9 @@ void Dispatcher::UpdateOriginPermissions(
const char* schemes[] = {
url::kHttpScheme,
url::kHttpsScheme,
- content::kFileScheme,
+ url::kFileScheme,
content::kChromeUIScheme,
- content::kFtpScheme,
+ url::kFtpScheme,
};
for (size_t j = 0; j < arraysize(schemes); ++j) {
if (i->MatchesScheme(schemes[j])) {
« no previous file with comments | « extensions/common/url_pattern_set.cc ('k') | url/url_canon_filesystemurl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698