| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "chrome/common/url_constants.h" | 5 #include "chrome/common/url_constants.h" |
| 6 | 6 |
| 7 // TODO(port): Remove this header when last ifdef is removed from this file. | 7 // TODO(port): Remove this header when last ifdef is removed from this file. |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 namespace chrome { | 10 namespace chrome { |
| 11 | 11 |
| 12 const char kAboutScheme[] = "about"; | 12 const char kAboutScheme[] = "about"; |
| 13 const char kChromeInternalScheme[] = "chrome-internal"; | 13 const char kChromeInternalScheme[] = "chrome-internal"; |
| 14 const char kChromeUIScheme[] = "chrome-ui"; | 14 const char kChromeUIScheme[] = "chrome"; |
| 15 const char kDataScheme[] = "data"; | 15 const char kDataScheme[] = "data"; |
| 16 const char kExtensionScheme[] = "chrome-extension"; | 16 const char kExtensionScheme[] = "chrome-extension"; |
| 17 const char kFileScheme[] = "file"; | 17 const char kFileScheme[] = "file"; |
| 18 const char kFtpScheme[] = "ftp"; | 18 const char kFtpScheme[] = "ftp"; |
| 19 const char kGearsScheme[] = "gears"; | 19 const char kGearsScheme[] = "gears"; |
| 20 const char kHttpScheme[] = "http"; | 20 const char kHttpScheme[] = "http"; |
| 21 const char kHttpsScheme[] = "https"; | 21 const char kHttpsScheme[] = "https"; |
| 22 const char kJavaScriptScheme[] = "javascript"; | 22 const char kJavaScriptScheme[] = "javascript"; |
| 23 const char kMailToScheme[] = "mailto"; | 23 const char kMailToScheme[] = "mailto"; |
| 24 const char kUserScriptScheme[] = "chrome-user-script"; | 24 const char kUserScriptScheme[] = "chrome-user-script"; |
| 25 const char kViewCacheScheme[] = "view-cache"; | 25 const char kViewCacheScheme[] = "view-cache"; |
| 26 const char kViewSourceScheme[] = "view-source"; | 26 const char kViewSourceScheme[] = "view-source"; |
| 27 | 27 |
| 28 const char kStandardSchemeSeparator[] = "://"; | 28 const char kStandardSchemeSeparator[] = "://"; |
| 29 | 29 |
| 30 const char kAboutBlankURL[] = "about:blank"; | 30 const char kAboutBlankURL[] = "about:blank"; |
| 31 const char kAboutCacheURL[] = "about:cache"; | 31 const char kAboutCacheURL[] = "about:cache"; |
| 32 const char kAboutMemoryURL[] = "about:memory"; | 32 const char kAboutMemoryURL[] = "about:memory"; |
| 33 | 33 |
| 34 const char kChromeUIDevToolsURL[] = "chrome-ui://devtools/"; | 34 const char kChromeUIDevToolsURL[] = "chrome://devtools/"; |
| 35 const char kChromeUIDownloadsURL[] = "chrome-ui://downloads/"; | 35 const char kChromeUIDownloadsURL[] = "chrome://downloads/"; |
| 36 const char kChromeUIExtensionsURL[] = "chrome-ui://extensions/"; | 36 const char kChromeUIExtensionsURL[] = "chrome://extensions/"; |
| 37 const char kChromeUIHistoryURL[] = "chrome-ui://history/"; | 37 const char kChromeUIHistoryURL[] = "chrome://history/"; |
| 38 const char kChromeUIInspectorURL[] = "chrome-ui://inspector/"; | 38 const char kChromeUIInspectorURL[] = "chrome://inspector/"; |
| 39 const char kChromeUIIPCURL[] = "chrome-ui://about/ipc"; | 39 const char kChromeUIIPCURL[] = "chrome://about/ipc"; |
| 40 const char kChromeUINetworkURL[] = "chrome-ui://about/network"; | 40 const char kChromeUINetworkURL[] = "chrome://about/network"; |
| 41 const char kChromeUINewTabURL[] = "chrome-ui://newtab"; | 41 const char kChromeUINewTabURL[] = "chrome://newtab"; |
| 42 | 42 |
| 43 const char kChromeUIDevToolsHost[] = "devtools"; | 43 const char kChromeUIDevToolsHost[] = "devtools"; |
| 44 const char kChromeUIDialogHost[] = "dialog"; | 44 const char kChromeUIDialogHost[] = "dialog"; |
| 45 const char kChromeUIDownloadsHost[] = "downloads"; | 45 const char kChromeUIDownloadsHost[] = "downloads"; |
| 46 const char kChromeUIExtensionsHost[] = "extensions"; | 46 const char kChromeUIExtensionsHost[] = "extensions"; |
| 47 const char kChromeUIFavIconPath[] = "favicon"; | 47 const char kChromeUIFavIconPath[] = "favicon"; |
| 48 const char kChromeUIHistoryHost[] = "history"; | 48 const char kChromeUIHistoryHost[] = "history"; |
| 49 const char kChromeUIInspectorHost[] = "inspector"; | 49 const char kChromeUIInspectorHost[] = "inspector"; |
| 50 const char kChromeUINewTabHost[] = "newtab"; | 50 const char kChromeUINewTabHost[] = "newtab"; |
| 51 const char kChromeUIThumbnailPath[] = "thumb"; | 51 const char kChromeUIThumbnailPath[] = "thumb"; |
| 52 | 52 |
| 53 } // namespace chrome | 53 } // namespace chrome |
| OLD | NEW |