| 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 namespace chrome { | 7 namespace chrome { |
| 8 | 8 |
| 9 const char kAboutScheme[] = "about"; | 9 const char kAboutScheme[] = "about"; |
| 10 const char kChromeInternalScheme[] = "chrome-internal"; | 10 const char kChromeInternalScheme[] = "chrome-internal"; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 const char kViewCacheScheme[] = "view-cache"; | 23 const char kViewCacheScheme[] = "view-cache"; |
| 24 const char kViewNetInternalScheme[] = "view-net-internal"; | 24 const char kViewNetInternalScheme[] = "view-net-internal"; |
| 25 const char kViewSourceScheme[] = "view-source"; | 25 const char kViewSourceScheme[] = "view-source"; |
| 26 | 26 |
| 27 const char kStandardSchemeSeparator[] = "://"; | 27 const char kStandardSchemeSeparator[] = "://"; |
| 28 | 28 |
| 29 const char kAboutBlankURL[] = "about:blank"; | 29 const char kAboutBlankURL[] = "about:blank"; |
| 30 const char kAboutCacheURL[] = "about:cache"; | 30 const char kAboutCacheURL[] = "about:cache"; |
| 31 const char kAboutNetInternalURL[] = "about:net-internal"; | 31 const char kAboutNetInternalURL[] = "about:net-internal"; |
| 32 const char kAboutCrashURL[] = "about:crash"; | 32 const char kAboutCrashURL[] = "about:crash"; |
| 33 const char kAboutCreditsURL[] = "about:credits"; |
| 33 const char kAboutHangURL[] = "about:hang"; | 34 const char kAboutHangURL[] = "about:hang"; |
| 34 const char kAboutMemoryURL[] = "about:memory"; | 35 const char kAboutMemoryURL[] = "about:memory"; |
| 35 const char kAboutShorthangURL[] = "about:shorthang"; | 36 const char kAboutShorthangURL[] = "about:shorthang"; |
| 37 const char kAboutTermsURL[] = "about:terms"; |
| 36 | 38 |
| 37 // Use an obfuscated URL to make this nondiscoverable, we only want this | 39 // Use an obfuscated URL to make this nondiscoverable, we only want this |
| 38 // to be used for testing. | 40 // to be used for testing. |
| 39 const char kAboutBrowserCrash[] = "about:inducebrowsercrashforrealz"; | 41 const char kAboutBrowserCrash[] = "about:inducebrowsercrashforrealz"; |
| 40 | 42 |
| 41 const char kChromeUIDevToolsURL[] = "chrome://devtools/"; | 43 const char kChromeUIDevToolsURL[] = "chrome://devtools/"; |
| 42 const char kChromeUIDownloadsURL[] = "chrome://downloads/"; | 44 const char kChromeUIDownloadsURL[] = "chrome://downloads/"; |
| 43 const char kChromeUIExtensionsURL[] = "chrome://extensions/"; | 45 const char kChromeUIExtensionsURL[] = "chrome://extensions/"; |
| 44 const char kChromeUIHistoryURL[] = "chrome://history/"; | 46 const char kChromeUIHistoryURL[] = "chrome://history/"; |
| 45 const char kChromeUIIPCURL[] = "chrome://about/ipc"; | 47 const char kChromeUIIPCURL[] = "chrome://about/ipc"; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 57 const char kChromeUIThumbnailPath[] = "thumb"; | 59 const char kChromeUIThumbnailPath[] = "thumb"; |
| 58 const char kChromeUIThemePath[] = "theme"; | 60 const char kChromeUIThemePath[] = "theme"; |
| 59 | 61 |
| 60 const char kSyncResourcesHost[] = "syncresources"; | 62 const char kSyncResourcesHost[] = "syncresources"; |
| 61 const char kSyncGaiaLoginPath[] = "gaialogin"; | 63 const char kSyncGaiaLoginPath[] = "gaialogin"; |
| 62 const char kSyncMergeAndSyncPath[] = "mergeandsync"; | 64 const char kSyncMergeAndSyncPath[] = "mergeandsync"; |
| 63 const char kSyncThrobberPath[] = "throbber.png"; | 65 const char kSyncThrobberPath[] = "throbber.png"; |
| 64 const char kSyncSetupFlowPath[] = "setup"; | 66 const char kSyncSetupFlowPath[] = "setup"; |
| 65 | 67 |
| 66 } // namespace chrome | 68 } // namespace chrome |
| OLD | NEW |