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

Side by Side Diff: Source/platform/network/ContentSecurityPolicyParsers.h

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
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 ContentSecurityPolicyParsers_h 5 #ifndef ContentSecurityPolicyParsers_h
6 #define ContentSecurityPolicyParsers_h 6 #define ContentSecurityPolicyParsers_h
7 7
8 #include "platform/Crypto.h" 8 #include "platform/Crypto.h"
9 #include "platform/PlatformExport.h" 9 #include "platform/PlatformExport.h"
10 #include "wtf/Vector.h" 10 #include "wtf/Vector.h"
11 #include "wtf/unicode/Unicode.h" 11 #include "wtf/unicode/Unicode.h"
12 12
13 namespace WebCore { 13 namespace blink {
14 14
15 typedef std::pair<unsigned, DigestValue> CSPHashValue; 15 typedef std::pair<unsigned, DigestValue> CSPHashValue;
16 16
17 enum ContentSecurityPolicyHeaderType { 17 enum ContentSecurityPolicyHeaderType {
18 ContentSecurityPolicyHeaderTypeReport, 18 ContentSecurityPolicyHeaderTypeReport,
19 ContentSecurityPolicyHeaderTypeEnforce 19 ContentSecurityPolicyHeaderTypeEnforce
20 }; 20 };
21 21
22 enum ContentSecurityPolicyHeaderSource { 22 enum ContentSecurityPolicyHeaderSource {
23 ContentSecurityPolicyHeaderSourceHTTP, 23 ContentSecurityPolicyHeaderSourceHTTP,
(...skipping 16 matching lines...) Expand all
40 PLATFORM_EXPORT bool isHostCharacter(UChar); 40 PLATFORM_EXPORT bool isHostCharacter(UChar);
41 PLATFORM_EXPORT bool isSchemeContinuationCharacter(UChar); 41 PLATFORM_EXPORT bool isSchemeContinuationCharacter(UChar);
42 PLATFORM_EXPORT bool isNotASCIISpace(UChar); 42 PLATFORM_EXPORT bool isNotASCIISpace(UChar);
43 PLATFORM_EXPORT bool isNotColonOrSlash(UChar); 43 PLATFORM_EXPORT bool isNotColonOrSlash(UChar);
44 PLATFORM_EXPORT bool isMediaTypeCharacter(UChar); 44 PLATFORM_EXPORT bool isMediaTypeCharacter(UChar);
45 45
46 // Only checks for general Base64 encoded chars, not '=' chars since '=' is 46 // Only checks for general Base64 encoded chars, not '=' chars since '=' is
47 // positional and may only appear at the end of a Base64 encoded string. 47 // positional and may only appear at the end of a Base64 encoded string.
48 PLATFORM_EXPORT bool isBase64EncodedCharacter(UChar); 48 PLATFORM_EXPORT bool isBase64EncodedCharacter(UChar);
49 49
50 } // namespace WebCore 50 } // namespace blink
51 51
52 #endif 52 #endif
OLDNEW
« no previous file with comments | « Source/platform/mhtml/MHTMLParser.cpp ('k') | Source/platform/network/ContentSecurityPolicyParsers.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698