| 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 "content/public/common/url_constants.h" | 5 #include "content/public/common/url_constants.h" |
| 6 | 6 |
| 7 namespace chrome { | 7 namespace content { |
| 8 | 8 |
| 9 const char kAboutScheme[] = "about"; | 9 const char kAboutScheme[] = "about"; |
| 10 | |
| 11 } // namespace chrome | |
| 12 | |
| 13 namespace content { | |
| 14 | |
| 15 const char kBlobScheme[] = "blob"; | 10 const char kBlobScheme[] = "blob"; |
| 16 | 11 |
| 17 // Before adding new chrome schemes please check with security@chromium.org. | 12 // Before adding new chrome schemes please check with security@chromium.org. |
| 18 // There are security implications associated with introducing new schemes. | 13 // There are security implications associated with introducing new schemes. |
| 19 const char kChromeDevToolsScheme[] = "chrome-devtools"; | 14 const char kChromeDevToolsScheme[] = "chrome-devtools"; |
| 20 const char kChromeUIScheme[] = "chrome"; | 15 const char kChromeUIScheme[] = "chrome"; |
| 21 const char kDataScheme[] = "data"; | 16 const char kDataScheme[] = "data"; |
| 22 const char kFileScheme[] = "file"; | 17 const char kFileScheme[] = "file"; |
| 23 const char kFileSystemScheme[] = "filesystem"; | 18 const char kFileSystemScheme[] = "filesystem"; |
| 24 const char kFtpScheme[] = "ftp"; | 19 const char kFtpScheme[] = "ftp"; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 60 |
| 66 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/"; | 61 const char kChromeUINetworkViewCacheURL[] = "chrome://view-http-cache/"; |
| 67 const char kChromeUIShorthangURL[] = "chrome://shorthang"; | 62 const char kChromeUIShorthangURL[] = "chrome://shorthang"; |
| 68 | 63 |
| 69 // This URL is loaded when a page is swapped out and replaced by a page in a | 64 // This URL is loaded when a page is swapped out and replaced by a page in a |
| 70 // different renderer process. It must have a unique origin that cannot be | 65 // different renderer process. It must have a unique origin that cannot be |
| 71 // scripted by other pages in the process. | 66 // scripted by other pages in the process. |
| 72 const char kSwappedOutURL[] = "swappedout://"; | 67 const char kSwappedOutURL[] = "swappedout://"; |
| 73 | 68 |
| 74 } // namespace content | 69 } // namespace content |
| OLD | NEW |