OLD | NEW |
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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "content/public/common/url_constants.h" | 6 #include "content/public/common/url_constants.h" |
7 | 7 |
8 namespace content { | 8 namespace content { |
9 | 9 |
10 // Before adding new chrome schemes please check with security@chromium.org. | 10 // Before adding new chrome schemes please check with security@chromium.org. |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 const char kChromeUIPpapiFlashHangURL[] = "chrome://ppapiflashhang"; | 54 const char kChromeUIPpapiFlashHangURL[] = "chrome://ppapiflashhang"; |
55 | 55 |
56 // This error URL is loaded in normal web renderer processes, so it should not | 56 // This error URL is loaded in normal web renderer processes, so it should not |
57 // have a chrome:// scheme that might let it be confused with a WebUI page. | 57 // have a chrome:// scheme that might let it be confused with a WebUI page. |
58 const char kUnreachableWebDataURL[] = "data:text/html,chromewebdata"; | 58 const char kUnreachableWebDataURL[] = "data:text/html,chromewebdata"; |
59 | 59 |
60 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/"; | 60 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/"; |
61 const char kChromeUIResourcesURL[] = "chrome://resources/"; | 61 const char kChromeUIResourcesURL[] = "chrome://resources/"; |
62 const char kChromeUIShorthangURL[] = "chrome://shorthang"; | 62 const char kChromeUIShorthangURL[] = "chrome://shorthang"; |
63 | 63 |
64 // This URL is loaded when a page is swapped out and replaced by a page in a | |
65 // different renderer process. It must have a unique origin that cannot be | |
66 // scripted by other pages in the process. | |
67 const char kSwappedOutURL[] = "swappedout://"; | |
68 | |
69 } // namespace content | 64 } // namespace content |
OLD | NEW |