| 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"; | 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 kPrintScheme[] = "print"; |
| 24 const char kUserScriptScheme[] = "chrome-user-script"; | 25 const char kUserScriptScheme[] = "chrome-user-script"; |
| 25 const char kViewCacheScheme[] = "view-cache"; | 26 const char kViewCacheScheme[] = "view-cache"; |
| 26 const char kViewSourceScheme[] = "view-source"; | 27 const char kViewSourceScheme[] = "view-source"; |
| 27 | 28 |
| 28 const char kStandardSchemeSeparator[] = "://"; | 29 const char kStandardSchemeSeparator[] = "://"; |
| 29 | 30 |
| 30 const char kAboutBlankURL[] = "about:blank"; | 31 const char kAboutBlankURL[] = "about:blank"; |
| 31 const char kAboutCacheURL[] = "about:cache"; | 32 const char kAboutCacheURL[] = "about:cache"; |
| 32 const char kAboutCrashURL[] = "about:crash"; | 33 const char kAboutCrashURL[] = "about:crash"; |
| 33 const char kAboutHangURL[] = "about:hang"; | 34 const char kAboutHangURL[] = "about:hang"; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 51 const char kChromeUIDownloadsHost[] = "downloads"; | 52 const char kChromeUIDownloadsHost[] = "downloads"; |
| 52 const char kChromeUIExtensionsHost[] = "extensions"; | 53 const char kChromeUIExtensionsHost[] = "extensions"; |
| 53 const char kChromeUIFavIconPath[] = "favicon"; | 54 const char kChromeUIFavIconPath[] = "favicon"; |
| 54 const char kChromeUIHistoryHost[] = "history"; | 55 const char kChromeUIHistoryHost[] = "history"; |
| 55 const char kChromeUIInspectorHost[] = "inspector"; | 56 const char kChromeUIInspectorHost[] = "inspector"; |
| 56 const char kChromeUINewTabHost[] = "newtab"; | 57 const char kChromeUINewTabHost[] = "newtab"; |
| 57 const char kChromeUIThumbnailPath[] = "thumb"; | 58 const char kChromeUIThumbnailPath[] = "thumb"; |
| 58 const char kChromeUIThemePath[] = "theme"; | 59 const char kChromeUIThemePath[] = "theme"; |
| 59 | 60 |
| 60 } // namespace chrome | 61 } // namespace chrome |
| OLD | NEW |