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

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

Issue 2764993002: CSP: group policies in didAddContentSecurityPolicy. (Closed)
Patch Set: Group the IPC instead of splitting them. (browser -> renderer) 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& 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 didAddContentSecurityPolicies(
191 const String& headerValue, 191 const blink::WebVector<WebContentSecurityPolicyPolicy>&) override;
Mike West 2017/03/23 08:43:06 Nit: Did we not change the name of this class in a
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 237
241 DEFINE_TYPE_CASTS(LocalFrameClientImpl, 238 DEFINE_TYPE_CASTS(LocalFrameClientImpl,
242 LocalFrameClient, 239 LocalFrameClient,
243 client, 240 client,
244 client->isLocalFrameClientImpl(), 241 client->isLocalFrameClientImpl(),
245 client.isLocalFrameClientImpl()); 242 client.isLocalFrameClientImpl());
246 243
247 } // namespace blink 244 } // namespace blink
248 245
249 #endif 246 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698