| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #ifndef IOS_CHROME_BROWSER_CHROME_URL_CONSTANTS_H_ | 5 #ifndef IOS_CHROME_BROWSER_CHROME_URL_CONSTANTS_H_ |
| 6 #define IOS_CHROME_BROWSER_CHROME_URL_CONSTANTS_H_ | 6 #define IOS_CHROME_BROWSER_CHROME_URL_CONSTANTS_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 // Contains constants for known URLs and portions thereof. | 10 // Contains constants for known URLs and portions thereof. |
| 11 | 11 |
| 12 // TODO(blundell): This file should be ios_chrome_url_constants.*, and all of | 12 // TODO(blundell): This file should be ios_chrome_url_constants.*, and all of |
| 13 // these constants should have a kIOSChrome prefix instead of a kChrome | 13 // these constants should have a kIOSChrome prefix instead of a kChrome |
| 14 // prefix. crbug.com/537174 | 14 // prefix. crbug.com/537174 |
| 15 | 15 |
| 16 // URL scheme for Chrome on iOS. This needs to be kept in sync with the constant | 16 // URL scheme for Chrome on iOS. This needs to be kept in sync with the constant |
| 17 // kChromeUIScheme defined in content/public/common/url_constants.h until Chrome | 17 // kChromeUIScheme defined in content/public/common/url_constants.h until Chrome |
| 18 // on iOS stops depending on //content downstream. | 18 // on iOS stops depending on //content downstream. |
| 19 extern const char kChromeUIScheme[]; | 19 extern const char kChromeUIScheme[]; |
| 20 extern const char kDummyExtensionScheme[]; | 20 extern const char kDummyExtensionScheme[]; |
| 21 | 21 |
| 22 // chrome: URLs (including schemes). Should be kept in sync with the | 22 // chrome: URLs (including schemes). Should be kept in sync with the |
| 23 // URL components below. | 23 // URL components below. |
| 24 extern const char kChromeUIBookmarksURL[]; | 24 extern const char kChromeUIBookmarksURL[]; |
| 25 extern const char kChromeUIChromeURLsURL[]; | 25 extern const char kChromeUIChromeURLsURL[]; |
| 26 extern const char kChromeUICreditsURL[]; | 26 extern const char kChromeUICreditsURL[]; |
| 27 extern const char kChromeUIFlagsURL[]; | 27 extern const char kChromeUIFlagsURL[]; |
| 28 extern const char kChromeUIHistoryURL[]; | 28 extern const char kChromeUIHistoryURL[]; |
| 29 extern const char kChromeUINewTabURL[]; | 29 extern const char kChromeUINewTabURL[]; |
| 30 extern const char kChromeUIPhysicalWebURL[]; |
| 30 extern const char kChromeUISettingsURL[]; | 31 extern const char kChromeUISettingsURL[]; |
| 31 extern const char kChromeUITermsURL[]; | 32 extern const char kChromeUITermsURL[]; |
| 32 extern const char kChromeUIVersionURL[]; | 33 extern const char kChromeUIVersionURL[]; |
| 33 | 34 |
| 34 // URL components for Chrome on iOS. | 35 // URL components for Chrome on iOS. |
| 35 extern const char kChromeUIAppleFlagsHost[]; | 36 extern const char kChromeUIAppleFlagsHost[]; |
| 36 extern const char kChromeUIBookmarksHost[]; | 37 extern const char kChromeUIBookmarksHost[]; |
| 37 extern const char kChromeUIBrowserCrashHost[]; | 38 extern const char kChromeUIBrowserCrashHost[]; |
| 38 extern const char kChromeUIChromeURLsHost[]; | 39 extern const char kChromeUIChromeURLsHost[]; |
| 39 extern const char kChromeUICrashesHost[]; | 40 extern const char kChromeUICrashesHost[]; |
| 40 extern const char kChromeUICreditsHost[]; | 41 extern const char kChromeUICreditsHost[]; |
| 41 extern const char kChromeUIExternalFileHost[]; | 42 extern const char kChromeUIExternalFileHost[]; |
| 42 extern const char kChromeUIFlagsHost[]; | 43 extern const char kChromeUIFlagsHost[]; |
| 43 extern const char kChromeUIGCMInternalsHost[]; | 44 extern const char kChromeUIGCMInternalsHost[]; |
| 44 extern const char kChromeUIHistogramHost[]; | 45 extern const char kChromeUIHistogramHost[]; |
| 45 extern const char kChromeUIHistoryFrameHost[]; | 46 extern const char kChromeUIHistoryFrameHost[]; |
| 46 extern const char kChromeUIHistoryHost[]; | 47 extern const char kChromeUIHistoryHost[]; |
| 47 extern const char kChromeUINetExportHost[]; | 48 extern const char kChromeUINetExportHost[]; |
| 48 extern const char kChromeUINewTabHost[]; | 49 extern const char kChromeUINewTabHost[]; |
| 49 extern const char kChromeUIOmahaHost[]; | 50 extern const char kChromeUIOmahaHost[]; |
| 51 extern const char kChromeUIPhysicalWebHost[]; |
| 50 extern const char kChromeUIPolicyHost[]; | 52 extern const char kChromeUIPolicyHost[]; |
| 51 extern const char kChromeUISignInInternalsHost[]; | 53 extern const char kChromeUISignInInternalsHost[]; |
| 52 extern const char kChromeUISyncInternalsHost[]; | 54 extern const char kChromeUISyncInternalsHost[]; |
| 53 extern const char kChromeUITermsHost[]; | 55 extern const char kChromeUITermsHost[]; |
| 54 extern const char kChromeUIVersionHost[]; | 56 extern const char kChromeUIVersionHost[]; |
| 55 | 57 |
| 56 // Gets the hosts/domains that are shown in chrome://chrome-urls. | 58 // Gets the hosts/domains that are shown in chrome://chrome-urls. |
| 57 extern const char* const kChromeHostURLs[]; | 59 extern const char* const kChromeHostURLs[]; |
| 58 extern const size_t kNumberOfChromeHostURLs; | 60 extern const size_t kNumberOfChromeHostURLs; |
| 59 | 61 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 extern const char kHistoryMyActivityURL[]; | 96 extern const char kHistoryMyActivityURL[]; |
| 95 | 97 |
| 96 // Google history URL for the Clear Browsing Data under Privacy Options. | 98 // Google history URL for the Clear Browsing Data under Privacy Options. |
| 97 // Obsolete: This is no longer used and will removed. | 99 // Obsolete: This is no longer used and will removed. |
| 98 extern const char kGoogleHistoryURL[]; | 100 extern const char kGoogleHistoryURL[]; |
| 99 | 101 |
| 100 // Google my account URL for the sign-in confirmation screen. | 102 // Google my account URL for the sign-in confirmation screen. |
| 101 extern const char kGoogleMyAccountURL[]; | 103 extern const char kGoogleMyAccountURL[]; |
| 102 | 104 |
| 103 #endif // IOS_CHROME_BROWSER_CHROME_URL_CONSTANTS_H_ | 105 #endif // IOS_CHROME_BROWSER_CHROME_URL_CONSTANTS_H_ |
| OLD | NEW |