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

Side by Side Diff: content/public/common/url_constants.h

Issue 9834039: Remove resource_request_info_impl.h dependency from chrome. This also makes blob/file system urls w… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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
« no previous file with comments | « content/public/browser/resource_context.h ('k') | content/public/common/url_constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_
6 #define CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ 6 #define CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 10
(...skipping 21 matching lines...) Expand all
32 CONTENT_EXPORT extern const char kMailToScheme[]; 32 CONTENT_EXPORT extern const char kMailToScheme[];
33 CONTENT_EXPORT extern const char kMetadataScheme[]; 33 CONTENT_EXPORT extern const char kMetadataScheme[];
34 CONTENT_EXPORT extern const char kSwappedOutScheme[]; 34 CONTENT_EXPORT extern const char kSwappedOutScheme[];
35 CONTENT_EXPORT extern const char kViewSourceScheme[]; 35 CONTENT_EXPORT extern const char kViewSourceScheme[];
36 36
37 // Used to separate a standard scheme and the hostname: "://". 37 // Used to separate a standard scheme and the hostname: "://".
38 CONTENT_EXPORT extern const char kStandardSchemeSeparator[]; 38 CONTENT_EXPORT extern const char kStandardSchemeSeparator[];
39 39
40 // About URLs (including schemes). 40 // About URLs (including schemes).
41 CONTENT_EXPORT extern const char kAboutBlankURL[]; 41 CONTENT_EXPORT extern const char kAboutBlankURL[];
42 CONTENT_EXPORT extern const char kChromeUIAppCacheInternalsHost[];
43 CONTENT_EXPORT extern const char kChromeUIBlobInternalsHost[];
42 CONTENT_EXPORT extern const char kChromeUIBrowserCrashHost[]; 44 CONTENT_EXPORT extern const char kChromeUIBrowserCrashHost[];
45 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheHost[];
43 CONTENT_EXPORT extern const char kChromeUICrashURL[]; 46 CONTENT_EXPORT extern const char kChromeUICrashURL[];
44 CONTENT_EXPORT extern const char kChromeUIGpuCleanURL[]; 47 CONTENT_EXPORT extern const char kChromeUIGpuCleanURL[];
45 CONTENT_EXPORT extern const char kChromeUIGpuCrashURL[]; 48 CONTENT_EXPORT extern const char kChromeUIGpuCrashURL[];
46 CONTENT_EXPORT extern const char kChromeUIGpuHangURL[]; 49 CONTENT_EXPORT extern const char kChromeUIGpuHangURL[];
47 CONTENT_EXPORT extern const char kChromeUIHangURL[]; 50 CONTENT_EXPORT extern const char kChromeUIHangURL[];
48 CONTENT_EXPORT extern const char kChromeUIKillURL[]; 51 CONTENT_EXPORT extern const char kChromeUIKillURL[];
52 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheURL[];
49 CONTENT_EXPORT extern const char kChromeUIShorthangURL[]; 53 CONTENT_EXPORT extern const char kChromeUIShorthangURL[];
50 54
51 // Special URL used to start a navigation to an error page. 55 // Special URL used to start a navigation to an error page.
52 extern const char kUnreachableWebDataURL[]; 56 extern const char kUnreachableWebDataURL[];
53 57
54 // Special URL used to swap out a view being rendered by another process. 58 // Special URL used to swap out a view being rendered by another process.
55 extern const char kSwappedOutURL[]; 59 extern const char kSwappedOutURL[];
56 60
57 } // namespace chrome 61 } // namespace chrome
58 62
59 namespace content { 63 namespace content {
60 64
61 // Null terminated list of schemes that are savable. This function can be 65 // Null terminated list of schemes that are savable. This function can be
62 // invoked on any thread. 66 // invoked on any thread.
63 CONTENT_EXPORT const char** GetSavableSchemes(); 67 CONTENT_EXPORT const char** GetSavableSchemes();
64 68
65 // Call near the beginning of startup to register the content layer's internal 69 // Call near the beginning of startup to register the content layer's internal
66 // URLs that should be parsed as "standard" with the googleurl library. The 70 // URLs that should be parsed as "standard" with the googleurl library. The
67 // embedder can pass a 0-terminated list of additional schemes that should be 71 // embedder can pass a 0-terminated list of additional schemes that should be
68 // savable, or NULL if the standard list is sufficient. 72 // savable, or NULL if the standard list is sufficient.
69 CONTENT_EXPORT void RegisterContentSchemes( 73 CONTENT_EXPORT void RegisterContentSchemes(
70 const char** additional_savable_schemes); 74 const char** additional_savable_schemes);
71 75
72 } // namespace content 76 } // namespace content
73 77
74 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ 78 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_
OLDNEW
« no previous file with comments | « content/public/browser/resource_context.h ('k') | content/public/common/url_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698