Loosen up heuristics for detecting account creation forms.
[chromium-blink-merge.git] / content / public / common / url_constants.h
blob7fd1150ffafefcb2b3dfed7aa6a8ed807833483a
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_
6 #define CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_
8 #include "content/common/content_export.h"
10 // Contains constants for known URLs and portions thereof.
12 // TODO(jam): rename this to content.
13 namespace chrome {
15 // Canonical schemes you can use as input to GURL.SchemeIs().
16 // TODO(jam): some of these don't below in the content layer, but are accessed
17 // from there.
18 CONTENT_EXPORT extern const char kAboutScheme[];
19 CONTENT_EXPORT extern const char kBlobScheme[];
20 CONTENT_EXPORT extern const char kChromeDevToolsScheme[];
21 CONTENT_EXPORT extern const char kChromeInternalScheme[];
22 CONTENT_EXPORT extern const char kChromeUIScheme[]; // Used for WebUIs.
23 CONTENT_EXPORT extern const char kCrosScheme[]; // Used for ChromeOS.
24 CONTENT_EXPORT extern const char kDataScheme[];
25 CONTENT_EXPORT extern const char kFileScheme[];
26 CONTENT_EXPORT extern const char kFileSystemScheme[];
27 CONTENT_EXPORT extern const char kFtpScheme[];
28 CONTENT_EXPORT extern const char kGuestScheme[];
29 CONTENT_EXPORT extern const char kHttpScheme[];
30 CONTENT_EXPORT extern const char kHttpsScheme[];
31 CONTENT_EXPORT extern const char kJavaScriptScheme[];
32 CONTENT_EXPORT extern const char kMailToScheme[];
33 CONTENT_EXPORT extern const char kMetadataScheme[];
34 CONTENT_EXPORT extern const char kSwappedOutScheme[];
35 CONTENT_EXPORT extern const char kViewSourceScheme[];
37 // Hosts for about URLs.
38 CONTENT_EXPORT extern const char kAboutBlankURL[];
39 CONTENT_EXPORT extern const char kChromeUIAppCacheInternalsHost[];
40 CONTENT_EXPORT extern const char kChromeUIBlobInternalsHost[];
41 CONTENT_EXPORT extern const char kChromeUIBrowserCrashHost[];
42 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheHost[];
43 CONTENT_EXPORT extern const char kChromeUITcmallocHost[];
44 CONTENT_EXPORT extern const char kChromeUIHistogramHost[];
46 // Full about URLs (including schemes).
47 CONTENT_EXPORT extern const char kChromeUICrashURL[];
48 CONTENT_EXPORT extern const char kChromeUIGpuCleanURL[];
49 CONTENT_EXPORT extern const char kChromeUIGpuCrashURL[];
50 CONTENT_EXPORT extern const char kChromeUIGpuHangURL[];
51 CONTENT_EXPORT extern const char kChromeUIHangURL[];
52 CONTENT_EXPORT extern const char kChromeUIKillURL[];
53 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheURL[];
54 CONTENT_EXPORT extern const char kChromeUIShorthangURL[];
56 } // namespace chrome
58 namespace content {
60 // Used to separate a standard scheme and the hostname: "://".
61 CONTENT_EXPORT extern const char kStandardSchemeSeparator[];
63 // Special URL used to start a navigation to an error page.
64 CONTENT_EXPORT extern const char kUnreachableWebDataURL[];
66 // Special URL used to swap out a view being rendered by another process.
67 extern const char kSwappedOutURL[];
69 // Null terminated list of schemes that are savable. This function can be
70 // invoked on any thread.
71 CONTENT_EXPORT const char* const* GetSavableSchemes();
73 } // namespace content
75 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_