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. |
11 // There are security implications associated with introducing new schemes. | 11 // There are security implications associated with introducing new schemes. |
12 const char kChromeDevToolsScheme[] = "chrome-devtools"; | 12 const char kChromeDevToolsScheme[] = "chrome-devtools"; |
13 const char kChromeUIScheme[] = "chrome"; | 13 const char kChromeUIScheme[] = "chrome"; |
| 14 const char kExeScheme[] = "exe"; |
14 const char kGuestScheme[] = "chrome-guest"; | 15 const char kGuestScheme[] = "chrome-guest"; |
15 const char kMetadataScheme[] = "metadata"; | 16 const char kMetadataScheme[] = "metadata"; |
| 17 const char kMojoScheme[] = "mojo"; |
16 const char kSwappedOutScheme[] = "swappedout"; | 18 const char kSwappedOutScheme[] = "swappedout"; |
17 const char kViewSourceScheme[] = "view-source"; | 19 const char kViewSourceScheme[] = "view-source"; |
18 #if defined(OS_CHROMEOS) | 20 #if defined(OS_CHROMEOS) |
19 const char kExternalFileScheme[] = "externalfile"; | 21 const char kExternalFileScheme[] = "externalfile"; |
20 #endif | 22 #endif |
21 | 23 |
22 const char kAboutSrcDocURL[] = "about:srcdoc"; | 24 const char kAboutSrcDocURL[] = "about:srcdoc"; |
23 | 25 |
24 const char kChromeUIAppCacheInternalsHost[] = "appcache-internals"; | 26 const char kChromeUIAppCacheInternalsHost[] = "appcache-internals"; |
25 const char kChromeUIIndexedDBInternalsHost[] = "indexeddb-internals"; | 27 const char kChromeUIIndexedDBInternalsHost[] = "indexeddb-internals"; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/"; | 64 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/"; |
63 const char kChromeUIResourcesURL[] = "chrome://resources/"; | 65 const char kChromeUIResourcesURL[] = "chrome://resources/"; |
64 const char kChromeUIShorthangURL[] = "chrome://shorthang"; | 66 const char kChromeUIShorthangURL[] = "chrome://shorthang"; |
65 | 67 |
66 // This URL is loaded when a page is swapped out and replaced by a page in a | 68 // This URL is loaded when a page is swapped out and replaced by a page in a |
67 // different renderer process. It must have a unique origin that cannot be | 69 // different renderer process. It must have a unique origin that cannot be |
68 // scripted by other pages in the process. | 70 // scripted by other pages in the process. |
69 const char kSwappedOutURL[] = "swappedout://"; | 71 const char kSwappedOutURL[] = "swappedout://"; |
70 | 72 |
71 } // namespace content | 73 } // namespace content |
OLD | NEW |