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

Side by Side Diff: third_party/WebKit/Source/web/LocalFrameClientImpl.h

Issue 2764993002: CSP: group policies in didAddContentSecurityPolicy. (Closed)
Patch Set: CSP send policies in didAddContentSecurityPolicy one by one. Created 3 years, 9 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) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 void didChangeName(const String& name, const String& uniqueName) override; 184 void didChangeName(const String& name, const String& uniqueName) override;
185 void didEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) override; 185 void didEnforceInsecureRequestPolicy(WebInsecureRequestPolicy) override;
186 void didUpdateToUniqueOrigin() override; 186 void didUpdateToUniqueOrigin() override;
187 void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) override; 187 void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) override;
188 void didSetFeaturePolicyHeader( 188 void didSetFeaturePolicyHeader(
189 const WebParsedFeaturePolicy& parsedHeader) override; 189 const WebParsedFeaturePolicy& parsedHeader) override;
190 void didAddContentSecurityPolicy( 190 void didAddContentSecurityPolicy(
191 const String& headerValue, 191 const String& headerValue,
192 ContentSecurityPolicyHeaderType, 192 ContentSecurityPolicyHeaderType,
193 ContentSecurityPolicyHeaderSource, 193 ContentSecurityPolicyHeaderSource,
194 const std::vector<WebContentSecurityPolicyPolicy>&) override; 194 const WebContentSecurityPolicyPolicy&) override;
195 void didChangeFrameOwnerProperties(HTMLFrameElementBase*) override; 195 void didChangeFrameOwnerProperties(HTMLFrameElementBase*) override;
196 196
197 void dispatchWillStartUsingPeerConnectionHandler( 197 void dispatchWillStartUsingPeerConnectionHandler(
198 WebRTCPeerConnectionHandler*) override; 198 WebRTCPeerConnectionHandler*) override;
199 199
200 bool allowWebGL(bool enabledPerSettings) override; 200 bool allowWebGL(bool enabledPerSettings) override;
201 201
202 void dispatchWillInsertBody() override; 202 void dispatchWillInsertBody() override;
203 203
204 std::unique_ptr<WebServiceWorkerProvider> createServiceWorkerProvider() 204 std::unique_ptr<WebServiceWorkerProvider> createServiceWorkerProvider()
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 240
241 DEFINE_TYPE_CASTS(LocalFrameClientImpl, 241 DEFINE_TYPE_CASTS(LocalFrameClientImpl,
242 LocalFrameClient, 242 LocalFrameClient,
243 client, 243 client,
244 client->isLocalFrameClientImpl(), 244 client->isLocalFrameClientImpl(),
245 client.isLocalFrameClientImpl()); 245 client.isLocalFrameClientImpl());
246 246
247 } // namespace blink 247 } // namespace blink
248 248
249 #endif 249 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698