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

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

Issue 254763005: Move some content url constants to /url. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and address some style nits. Created 6 years, 7 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
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 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 9
10 // Contains constants for known URLs and portions thereof. 10 // Contains constants for known URLs and portions thereof.
11 11
12 namespace content { 12 namespace content {
13 13
14 // Canonical schemes you can use as input to GURL.SchemeIs(). 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 15 // TODO(jam): some of these don't below in the content layer, but are accessed
16 // from there. 16 // from there.
17 CONTENT_EXPORT extern const char kAboutScheme[]; 17 CONTENT_EXPORT extern const char kAboutScheme[];
18 CONTENT_EXPORT extern const char kBlobScheme[]; 18 CONTENT_EXPORT extern const char kBlobScheme[];
19 CONTENT_EXPORT extern const char kChromeDevToolsScheme[]; 19 CONTENT_EXPORT extern const char kChromeDevToolsScheme[];
20 CONTENT_EXPORT extern const char kChromeUIScheme[]; // Used for WebUIs. 20 CONTENT_EXPORT extern const char kChromeUIScheme[]; // Used for WebUIs.
21 CONTENT_EXPORT extern const char kDataScheme[]; 21 CONTENT_EXPORT extern const char kDataScheme[];
22 CONTENT_EXPORT extern const char kFileScheme[]; 22 CONTENT_EXPORT extern const char kFileScheme[];
23 CONTENT_EXPORT extern const char kFileSystemScheme[]; 23 CONTENT_EXPORT extern const char kFileSystemScheme[];
24 CONTENT_EXPORT extern const char kFtpScheme[]; 24 CONTENT_EXPORT extern const char kFtpScheme[];
25 CONTENT_EXPORT extern const char kGuestScheme[]; 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[]; 26 CONTENT_EXPORT extern const char kJavaScriptScheme[];
29 CONTENT_EXPORT extern const char kMailToScheme[]; 27 CONTENT_EXPORT extern const char kMailToScheme[];
30 CONTENT_EXPORT extern const char kMetadataScheme[]; 28 CONTENT_EXPORT extern const char kMetadataScheme[];
31 CONTENT_EXPORT extern const char kSwappedOutScheme[]; 29 CONTENT_EXPORT extern const char kSwappedOutScheme[];
32 CONTENT_EXPORT extern const char kViewSourceScheme[]; 30 CONTENT_EXPORT extern const char kViewSourceScheme[];
33 31
34 // Hosts for about URLs. 32 // Hosts for about URLs.
35 CONTENT_EXPORT extern const char kAboutBlankURL[]; 33 CONTENT_EXPORT extern const char kAboutBlankURL[];
36 CONTENT_EXPORT extern const char kAboutSrcDocURL[]; 34 CONTENT_EXPORT extern const char kAboutSrcDocURL[];
37 35
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // Full about URLs (including schemes). 67 // Full about URLs (including schemes).
70 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheURL[]; 68 CONTENT_EXPORT extern const char kChromeUINetworkViewCacheURL[];
71 CONTENT_EXPORT extern const char kChromeUIShorthangURL[]; 69 CONTENT_EXPORT extern const char kChromeUIShorthangURL[];
72 70
73 // Special URL used to swap out a view being rendered by another process. 71 // Special URL used to swap out a view being rendered by another process.
74 CONTENT_EXPORT extern const char kSwappedOutURL[]; 72 CONTENT_EXPORT extern const char kSwappedOutURL[];
75 73
76 } // namespace content 74 } // namespace content
77 75
78 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ 76 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698