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

Side by Side Diff: url/url_constants.h

Issue 2644133002: Do not sanitize about:blank/#foo & about:blank?foo (Closed)
Patch Set: Add missing include Created 3 years, 11 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 URL_URL_CONSTANTS_H_ 5 #ifndef URL_URL_CONSTANTS_H_
6 #define URL_URL_CONSTANTS_H_ 6 #define URL_URL_CONSTANTS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "url/url_export.h" 10 #include "url/url_export.h"
11 11
12 namespace url { 12 namespace url {
13 13
14 URL_EXPORT extern const char kAboutBlankURL[]; 14 URL_EXPORT extern const char kAboutBlankURL[];
15 15
16 URL_EXPORT extern const char kAboutBlankPath[];
17 URL_EXPORT extern const char kAboutBlankWithHashPath[];
18
16 URL_EXPORT extern const char kAboutScheme[]; 19 URL_EXPORT extern const char kAboutScheme[];
17 URL_EXPORT extern const char kBlobScheme[]; 20 URL_EXPORT extern const char kBlobScheme[];
18 // The content scheme is specific to Android for identifying a stored file. 21 // The content scheme is specific to Android for identifying a stored file.
19 URL_EXPORT extern const char kContentScheme[]; 22 URL_EXPORT extern const char kContentScheme[];
20 URL_EXPORT extern const char kContentIDScheme[]; 23 URL_EXPORT extern const char kContentIDScheme[];
21 URL_EXPORT extern const char kDataScheme[]; 24 URL_EXPORT extern const char kDataScheme[];
22 URL_EXPORT extern const char kFileScheme[]; 25 URL_EXPORT extern const char kFileScheme[];
23 URL_EXPORT extern const char kFileSystemScheme[]; 26 URL_EXPORT extern const char kFileSystemScheme[];
24 URL_EXPORT extern const char kFtpScheme[]; 27 URL_EXPORT extern const char kFtpScheme[];
25 URL_EXPORT extern const char kGopherScheme[]; 28 URL_EXPORT extern const char kGopherScheme[];
(...skipping 10 matching lines...) Expand all
36 URL_EXPORT extern const char kHttpsSuboriginScheme[]; 39 URL_EXPORT extern const char kHttpsSuboriginScheme[];
37 40
38 // Used to separate a standard scheme and the hostname: "://". 41 // Used to separate a standard scheme and the hostname: "://".
39 URL_EXPORT extern const char kStandardSchemeSeparator[]; 42 URL_EXPORT extern const char kStandardSchemeSeparator[];
40 43
41 URL_EXPORT extern const size_t kMaxURLChars; 44 URL_EXPORT extern const size_t kMaxURLChars;
42 45
43 } // namespace url 46 } // namespace url
44 47
45 #endif // URL_URL_CONSTANTS_H_ 48 #endif // URL_URL_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698