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

Side by Side Diff: third_party/WebKit/Source/platform/weborigin/SecurityPolicy.h

Issue 2803603004: Rewrite references to "wtf/" to "platform/wtf/" in platform/weborigin. (Closed)
Patch Set: Created 3 years, 8 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 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 14 matching lines...) Expand all
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 #ifndef SecurityPolicy_h 29 #ifndef SecurityPolicy_h
30 #define SecurityPolicy_h 30 #define SecurityPolicy_h
31 31
32 #include "platform/PlatformExport.h" 32 #include "platform/PlatformExport.h"
33 #include "platform/weborigin/Referrer.h" 33 #include "platform/weborigin/Referrer.h"
34 #include "platform/weborigin/ReferrerPolicy.h" 34 #include "platform/weborigin/ReferrerPolicy.h"
35 #include "wtf/Allocator.h" 35 #include "platform/wtf/Allocator.h"
36 #include "wtf/text/WTFString.h" 36 #include "platform/wtf/text/WTFString.h"
37 37
38 namespace blink { 38 namespace blink {
39 39
40 class KURL; 40 class KURL;
41 class SecurityOrigin; 41 class SecurityOrigin;
42 42
43 enum ReferrerPolicyLegacyKeywordsSupport { 43 enum ReferrerPolicyLegacyKeywordsSupport {
44 SupportReferrerPolicyLegacyKeywords, 44 SupportReferrerPolicyLegacyKeywords,
45 DoNotSupportReferrerPolicyLegacyKeywords, 45 DoNotSupportReferrerPolicyLegacyKeywords,
46 }; 46 };
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 ReferrerPolicy* result); 90 ReferrerPolicy* result);
91 91
92 static bool referrerPolicyFromHeaderValue(const String& headerValue, 92 static bool referrerPolicyFromHeaderValue(const String& headerValue,
93 ReferrerPolicyLegacyKeywordsSupport, 93 ReferrerPolicyLegacyKeywordsSupport,
94 ReferrerPolicy* result); 94 ReferrerPolicy* result);
95 }; 95 };
96 96
97 } // namespace blink 97 } // namespace blink
98 98
99 #endif // SecurityPolicy_h 99 #endif // SecurityPolicy_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698