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

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

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

Powered by Google App Engine
This is Rietveld 408576698