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

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

Issue 2764993002: CSP: group policies in didAddContentSecurityPolicy. (Closed)
Patch Set: Nit. 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 void didNotAllowPlugins() override; 180 void didNotAllowPlugins() override;
181 181
182 WebCookieJar* cookieJar() const override; 182 WebCookieJar* cookieJar() const override;
183 void frameFocused() const override; 183 void frameFocused() const override;
184 void didChangeName(const String&) override; 184 void didChangeName(const String&) 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 didAddContentSecurityPolicies(
191 const String& headerValue, 191 const blink::WebVector<WebContentSecurityPolicyPolicy>&) override;
192 ContentSecurityPolicyHeaderType,
193 ContentSecurityPolicyHeaderSource,
194 const std::vector<WebContentSecurityPolicyPolicy>&) override;
195 void didChangeFrameOwnerProperties(HTMLFrameElementBase*) override; 192 void didChangeFrameOwnerProperties(HTMLFrameElementBase*) override;
196 193
197 void dispatchWillStartUsingPeerConnectionHandler( 194 void dispatchWillStartUsingPeerConnectionHandler(
198 WebRTCPeerConnectionHandler*) override; 195 WebRTCPeerConnectionHandler*) override;
199 196
200 bool allowWebGL(bool enabledPerSettings) override; 197 bool allowWebGL(bool enabledPerSettings) override;
201 198
202 void dispatchWillInsertBody() override; 199 void dispatchWillInsertBody() override;
203 200
204 std::unique_ptr<WebServiceWorkerProvider> createServiceWorkerProvider() 201 std::unique_ptr<WebServiceWorkerProvider> createServiceWorkerProvider()
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 239
243 DEFINE_TYPE_CASTS(LocalFrameClientImpl, 240 DEFINE_TYPE_CASTS(LocalFrameClientImpl,
244 LocalFrameClient, 241 LocalFrameClient,
245 client, 242 client,
246 client->isLocalFrameClientImpl(), 243 client->isLocalFrameClientImpl(),
247 client.isLocalFrameClientImpl()); 244 client.isLocalFrameClientImpl());
248 245
249 } // namespace blink 246 } // namespace blink
250 247
251 #endif 248 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698