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

Side by Side Diff: Source/core/frame/ContentSecurityPolicyResponseHeaders.h

Issue 149953007: CSP 1.1: Remove last bits of 'X-WebKit-CSP'. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Test. Created 6 years, 10 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) 2013 Google, Inc. All rights reserved. 2 * Copyright (C) 2013 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 21 matching lines...) Expand all
32 32
33 class ResourceResponse; 33 class ResourceResponse;
34 34
35 class ContentSecurityPolicyResponseHeaders { 35 class ContentSecurityPolicyResponseHeaders {
36 public: 36 public:
37 ContentSecurityPolicyResponseHeaders() { } 37 ContentSecurityPolicyResponseHeaders() { }
38 explicit ContentSecurityPolicyResponseHeaders(const ResourceResponse&); 38 explicit ContentSecurityPolicyResponseHeaders(const ResourceResponse&);
39 39
40 const String& contentSecurityPolicy() const { return m_contentSecurityPolicy ; } 40 const String& contentSecurityPolicy() const { return m_contentSecurityPolicy ; }
41 const String& contentSecurityPolicyReportOnly() const { return m_contentSecu rityPolicyReportOnly; } 41 const String& contentSecurityPolicyReportOnly() const { return m_contentSecu rityPolicyReportOnly; }
42 const String& xWebKitCSP() const { return m_xWebKitCSP; }
43 const String& xWebKitCSPReportOnly() const { return m_xWebKitCSPReportOnly; }
44 42
45 private: 43 private:
46 String m_contentSecurityPolicy; 44 String m_contentSecurityPolicy;
47 String m_contentSecurityPolicyReportOnly; 45 String m_contentSecurityPolicyReportOnly;
48 String m_xWebKitCSP;
49 String m_xWebKitCSPReportOnly;
50 }; 46 };
51 47
52 } 48 }
53 49
54 #endif 50 #endif
OLDNEW
« no previous file with comments | « Source/core/frame/ContentSecurityPolicy.cpp ('k') | Source/core/frame/ContentSecurityPolicyResponseHeaders.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698