Cast: Stop logging kVideoFrameSentToEncoder and rename a couple events.
[chromium-blink-merge.git] / content / public / common / url_constants.h
blob194bb3afb9404244e9a6663245045514f7048665
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 namespace content {
14 // Canonical schemes you can use as input to GURL.SchemeIs().
15 // TODO(jam): some of these don't below in the content layer, but are accessed
16 // from there.
17 CONTENT_EXPORT extern const char kAboutScheme[];
18 CONTENT_EXPORT extern const char kBlobScheme[];
19 CONTENT_EXPORT extern const char kChromeDevToolsScheme[];
20 CONTENT_EXPORT extern const char kChromeUIScheme[]; // Used for WebUIs.
21 CONTENT_EXPORT extern const char kDataScheme[];
22 CONTENT_EXPORT extern const char kFileScheme[];
23 CONTENT_EXPORT extern const char kFileSystemScheme[];
24 CONTENT_EXPORT extern const char kFtpScheme[];
25 CONTENT_EXPORT extern const char kGuestScheme[];
26 CONTENT_EXPORT extern const char kHttpScheme[];
27 CONTENT_EXPORT extern const char kHttpsScheme[];
28 CONTENT_EXPORT extern const char kJavaScriptScheme[];
29 CONTENT_EXPORT extern const char kMailToScheme[];
30 CONTENT_EXPORT extern const char kMetadataScheme[];
31 CONTENT_EXPORT extern const char kSwappedOutScheme[];
32 CONTENT_EXPORT extern const char kViewSourceScheme[];
34 // Hosts for about URLs.
35 CONTENT_EXPORT extern const char kAboutBlankURL[];
36 CONTENT_EXPORT extern const char kAboutSrcDocURL[];
38 CONTENT_EXPORT extern const char kChromeUIAccessibilityHost[];
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 kChromeUIGpuHost[];
43 CONTENT_EXPORT extern const char kChromeUIHistogramHost[];
44 CONTENT_EXPORT extern const char kChromeUIIndexedDBInternalsHost[];
45 CONTENT_EXPORT extern const char kChromeUIMediaInternalsHost[];
46 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheHost[];
47 CONTENT_EXPORT extern const char kChromeUIResourcesHost[];
48 CONTENT_EXPORT extern const char kChromeUIServiceWorkerInternalsHost[];
49 CONTENT_EXPORT extern const char kChromeUITcmallocHost[];
50 CONTENT_EXPORT extern const char kChromeUITracingHost[];
51 CONTENT_EXPORT extern const char kChromeUIWebRTCInternalsHost[];
53 // Full about URLs (including schemes).
54 CONTENT_EXPORT extern const char kChromeUICrashURL[];
55 CONTENT_EXPORT extern const char kChromeUIGpuCleanURL[];
56 CONTENT_EXPORT extern const char kChromeUIGpuCrashURL[];
57 CONTENT_EXPORT extern const char kChromeUIGpuHangURL[];
58 CONTENT_EXPORT extern const char kChromeUIHangURL[];
59 CONTENT_EXPORT extern const char kChromeUIKillURL[];
60 CONTENT_EXPORT extern const char kChromeUIPpapiFlashCrashURL[];
61 CONTENT_EXPORT extern const char kChromeUIPpapiFlashHangURL[];
63 // Used to separate a standard scheme and the hostname: "://".
64 CONTENT_EXPORT extern const char kStandardSchemeSeparator[];
66 // Special URL used to start a navigation to an error page.
67 CONTENT_EXPORT extern const char kUnreachableWebDataURL[];
69 // Full about URLs (including schemes).
70 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheURL[];
71 CONTENT_EXPORT extern const char kChromeUIShorthangURL[];
73 // Special URL used to swap out a view being rendered by another process.
74 CONTENT_EXPORT extern const char kSwappedOutURL[];
76 } // namespace content
78 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_