| 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"; |
| 11 const char kChromeUIScheme[] = "chrome"; | 11 const char kChromeUIScheme[] = "chrome"; |
| 12 const char kDataScheme[] = "data"; | 12 const char kDataScheme[] = "data"; |
| 13 const char kExtensionScheme[] = "chrome-extension"; | 13 const char kExtensionScheme[] = "chrome-extension"; |
| 14 const char kFileScheme[] = "file"; | 14 const char kFileScheme[] = "file"; |
| 15 const char kFtpScheme[] = "ftp"; | 15 const char kFtpScheme[] = "ftp"; |
| 16 const char kGearsScheme[] = "gears"; | 16 const char kGearsScheme[] = "gears"; |
| 17 const char kHttpScheme[] = "http"; | 17 const char kHttpScheme[] = "http"; |
| 18 const char kHttpsScheme[] = "https"; | 18 const char kHttpsScheme[] = "https"; |
| 19 const char kJavaScriptScheme[] = "javascript"; | 19 const char kJavaScriptScheme[] = "javascript"; |
| 20 const char kMailToScheme[] = "mailto"; | 20 const char kMailToScheme[] = "mailto"; |
| 21 const char kPrintScheme[] = "print"; | 21 const char kPrintScheme[] = "print"; |
| 22 const char kUserScriptScheme[] = "chrome-user-script"; | 22 const char kUserScriptScheme[] = "chrome-user-script"; |
| 23 const char kViewCacheScheme[] = "view-cache"; | 23 const char kViewCacheScheme[] = "view-cache"; |
| 24 const char kViewNetInternalScheme[] = "view-net-internal"; |
| 24 const char kViewSourceScheme[] = "view-source"; | 25 const char kViewSourceScheme[] = "view-source"; |
| 25 | 26 |
| 26 const char kStandardSchemeSeparator[] = "://"; | 27 const char kStandardSchemeSeparator[] = "://"; |
| 27 | 28 |
| 28 const char kAboutBlankURL[] = "about:blank"; | 29 const char kAboutBlankURL[] = "about:blank"; |
| 29 const char kAboutCacheURL[] = "about:cache"; | 30 const char kAboutCacheURL[] = "about:cache"; |
| 31 const char kAboutNetInternalURL[] = "about:net-internal"; |
| 30 const char kAboutCrashURL[] = "about:crash"; | 32 const char kAboutCrashURL[] = "about:crash"; |
| 31 const char kAboutHangURL[] = "about:hang"; | 33 const char kAboutHangURL[] = "about:hang"; |
| 32 const char kAboutMemoryURL[] = "about:memory"; | 34 const char kAboutMemoryURL[] = "about:memory"; |
| 33 const char kAboutShorthangURL[] = "about:shorthang"; | 35 const char kAboutShorthangURL[] = "about:shorthang"; |
| 34 | 36 |
| 35 // Use an obfuscated URL to make this nondiscoverable, we only want this | 37 // Use an obfuscated URL to make this nondiscoverable, we only want this |
| 36 // to be used for testing. | 38 // to be used for testing. |
| 37 const char kAboutBrowserCrash[] = "about:inducebrowsercrashforrealz"; | 39 const char kAboutBrowserCrash[] = "about:inducebrowsercrashforrealz"; |
| 38 | 40 |
| 39 const char kChromeUIDevToolsURL[] = "chrome://devtools/"; | 41 const char kChromeUIDevToolsURL[] = "chrome://devtools/"; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 55 const char kChromeUIThumbnailPath[] = "thumb"; | 57 const char kChromeUIThumbnailPath[] = "thumb"; |
| 56 const char kChromeUIThemePath[] = "theme"; | 58 const char kChromeUIThemePath[] = "theme"; |
| 57 | 59 |
| 58 const char kSyncResourcesHost[] = "syncresources"; | 60 const char kSyncResourcesHost[] = "syncresources"; |
| 59 const char kSyncGaiaLoginPath[] = "gaialogin"; | 61 const char kSyncGaiaLoginPath[] = "gaialogin"; |
| 60 const char kSyncMergeAndSyncPath[] = "mergeandsync"; | 62 const char kSyncMergeAndSyncPath[] = "mergeandsync"; |
| 61 const char kSyncThrobberPath[] = "throbber.png"; | 63 const char kSyncThrobberPath[] = "throbber.png"; |
| 62 const char kSyncSetupFlowPath[] = "setup"; | 64 const char kSyncSetupFlowPath[] = "setup"; |
| 63 | 65 |
| 64 } // namespace chrome | 66 } // namespace chrome |
| OLD | NEW |