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

Side by Side Diff: content/public/common/url_constants.cc

Issue 1362433002: Fix for "chrome://" links in PDFs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Small fix. Created 5 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/common/url_constants.h" 5 #include "content/public/common/url_constants.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 // Before adding new chrome schemes please check with security@chromium.org. 9 // Before adding new chrome schemes please check with security@chromium.org.
10 // There are security implications associated with introducing new schemes. 10 // There are security implications associated with introducing new schemes.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 const char kChromeUIPpapiFlashCrashURL[] = "chrome://ppapiflashcrash"; 48 const char kChromeUIPpapiFlashCrashURL[] = "chrome://ppapiflashcrash";
49 const char kChromeUIPpapiFlashHangURL[] = "chrome://ppapiflashhang"; 49 const char kChromeUIPpapiFlashHangURL[] = "chrome://ppapiflashhang";
50 const char kChromeUIServiceWorkerInternalsURL[] = 50 const char kChromeUIServiceWorkerInternalsURL[] =
51 "chrome://serviceworker-internals"; 51 "chrome://serviceworker-internals";
52 52
53 // This error URL is loaded in normal web renderer processes, so it should not 53 // This error URL is loaded in normal web renderer processes, so it should not
54 // have a chrome:// scheme that might let it be confused with a WebUI page. 54 // have a chrome:// scheme that might let it be confused with a WebUI page.
55 const char kUnreachableWebDataURL[] = "data:text/html,chromewebdata"; 55 const char kUnreachableWebDataURL[] = "data:text/html,chromewebdata";
56 56
57 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/"; 57 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/";
58 const char kChromeUIResourcesURL[] = "chrome://resources/";
58 const char kChromeUIShorthangURL[] = "chrome://shorthang"; 59 const char kChromeUIShorthangURL[] = "chrome://shorthang";
59 60
60 // This URL is loaded when a page is swapped out and replaced by a page in a 61 // This URL is loaded when a page is swapped out and replaced by a page in a
61 // different renderer process. It must have a unique origin that cannot be 62 // different renderer process. It must have a unique origin that cannot be
62 // scripted by other pages in the process. 63 // scripted by other pages in the process.
63 const char kSwappedOutURL[] = "swappedout://"; 64 const char kSwappedOutURL[] = "swappedout://";
64 65
65 } // namespace content 66 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/url_constants.h ('k') | extensions/browser/extension_web_contents_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698