Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1102)

Side by Side Diff: chrome/common/url_constants.h

Issue 6874038: Remove the last Chrome dependencies from renderer, and enforce no more includes through DEPS. I ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Contains constants for known URLs and portions thereof. 5 // Contains constants for known URLs and portions thereof.
6 6
7 #ifndef CHROME_COMMON_URL_CONSTANTS_H_ 7 #ifndef CHROME_COMMON_URL_CONSTANTS_H_
8 #define CHROME_COMMON_URL_CONSTANTS_H_ 8 #define CHROME_COMMON_URL_CONSTANTS_H_
9 #pragma once 9 #pragma once
10 10
11 #include "content/common/url_constants.h"
12
11 namespace chrome { 13 namespace chrome {
12 14
13 // Canonical schemes you can use as input to GURL.SchemeIs().
14 extern const char kAboutScheme[];
15 extern const char kBlobScheme[];
16 extern const char kChromeDevToolsScheme[];
17 extern const char kChromeInternalScheme[];
18 extern const char kChromeUIScheme[]; // The scheme used for WebUIs.
19 extern const char kCrosScheme[]; // The scheme used for ChromeOS.
20 extern const char kDataScheme[];
21 extern const char kExtensionScheme[];
22 extern const char kFileScheme[];
23 extern const char kFileSystemScheme[];
24 extern const char kFtpScheme[];
25 extern const char kHttpScheme[];
26 extern const char kHttpsScheme[];
27 extern const char kJavaScriptScheme[];
28 extern const char kMailToScheme[];
29 extern const char kMetadataScheme[];
30 extern const char kUserScriptScheme[];
31 extern const char kViewSourceScheme[];
32
33 // Used to separate a standard scheme and the hostname: "://".
34 extern const char kStandardSchemeSeparator[];
35
36 // Null terminated list of schemes that are savable. 15 // Null terminated list of schemes that are savable.
37 extern const char* kSavableSchemes[]; 16 extern const char* kSavableSchemes[];
38 17
39 // About URLs (including schemes). 18 // About URLs (including schemes).
40 extern const char kAboutAboutURL[]; 19 extern const char kAboutAboutURL[];
41 extern const char kAboutAppCacheInternalsURL[]; 20 extern const char kAboutAppCacheInternalsURL[];
42 extern const char kAboutBlankURL[];
43 extern const char kAboutBrowserCrash[]; 21 extern const char kAboutBrowserCrash[];
44 extern const char kAboutConflicts[]; 22 extern const char kAboutConflicts[];
45 extern const char kAboutCacheURL[]; 23 extern const char kAboutCacheURL[];
46 extern const char kAboutCrashURL[];
47 extern const char kAboutKillURL[]; 24 extern const char kAboutKillURL[];
48 extern const char kAboutCreditsURL[]; 25 extern const char kAboutCreditsURL[];
49 extern const char kAboutDNSURL[]; 26 extern const char kAboutDNSURL[];
50 extern const char kAboutFlagsURL[]; 27 extern const char kAboutFlagsURL[];
51 extern const char kAboutGpuURL[]; 28 extern const char kAboutGpuURL[];
52 extern const char kAboutGpuCrashURL[]; 29 extern const char kAboutGpuCrashURL[];
53 extern const char kAboutGpuHangURL[]; 30 extern const char kAboutGpuHangURL[];
54 extern const char kAboutHangURL[]; 31 extern const char kAboutHangURL[];
55 extern const char kAboutHistogramsURL[]; 32 extern const char kAboutHistogramsURL[];
56 extern const char kAboutMemoryURL[]; 33 extern const char kAboutMemoryURL[];
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 extern const char kChromeUINetworkMenu[]; 140 extern const char kChromeUINetworkMenu[];
164 extern const char kChromeUIUserImageHost[]; 141 extern const char kChromeUIUserImageHost[];
165 extern const char kChromeUIEnterpriseEnrollmentHost[]; 142 extern const char kChromeUIEnterpriseEnrollmentHost[];
166 #endif 143 #endif
167 144
168 #if defined(OS_CHROMEOS) && defined(TOUCH_UI) 145 #if defined(OS_CHROMEOS) && defined(TOUCH_UI)
169 extern const char kChromeUILoginContainerHost[]; 146 extern const char kChromeUILoginContainerHost[];
170 extern const char kChromeUILoginHost[]; 147 extern const char kChromeUILoginHost[];
171 #endif 148 #endif
172 149
173 // Special URL used to start a navigation to an error page.
174 extern const char kUnreachableWebDataURL[];
175
176 // AppCache related URL. 150 // AppCache related URL.
177 extern const char kAppCacheViewInternalsURL[]; 151 extern const char kAppCacheViewInternalsURL[];
178 152
179 // Blob related URL. 153 // Blob related URL.
180 extern const char kBlobViewInternalsURL[]; 154 extern const char kBlobViewInternalsURL[];
181 155
182 // Cloud Print dialog URL components. 156 // Cloud Print dialog URL components.
183 extern const char kCloudPrintResourcesURL[]; 157 extern const char kCloudPrintResourcesURL[];
184 extern const char kCloudPrintResourcesHost[]; 158 extern const char kCloudPrintResourcesHost[];
185 extern const char kCloudPrintSetupHost[]; 159 extern const char kCloudPrintSetupHost[];
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 // The URL for the "Learn more" page for the blocked plugin infobar. 216 // The URL for the "Learn more" page for the blocked plugin infobar.
243 extern const char kBlockedPluginLearnMoreURL[]; 217 extern const char kBlockedPluginLearnMoreURL[];
244 218
245 // Call near the beginning of startup to register Chrome's internal URLs that 219 // Call near the beginning of startup to register Chrome's internal URLs that
246 // should be parsed as "standard" with the googleurl library. 220 // should be parsed as "standard" with the googleurl library.
247 void RegisterChromeSchemes(); 221 void RegisterChromeSchemes();
248 222
249 } // namespace chrome 223 } // namespace chrome
250 224
251 #endif // CHROME_COMMON_URL_CONSTANTS_H_ 225 #endif // CHROME_COMMON_URL_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698