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

Side by Side Diff: content/browser/frame_host/render_frame_host_manager.h

Issue 2046733003: Replicate WebInsecureRequestPolicy instead of a bool for strict mixed content checks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@securitycontext
Patch Set: alexmos@ Created 4 years, 6 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 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 // |name| and the recalculated |unique_name| and replicates them into all 429 // |name| and the recalculated |unique_name| and replicates them into all
430 // frame proxies. 430 // frame proxies.
431 void OnDidUpdateName(const std::string& name, const std::string& unique_name); 431 void OnDidUpdateName(const std::string& name, const std::string& unique_name);
432 432
433 // Sends the newly added Content Security Policy header to all the proxies. 433 // Sends the newly added Content Security Policy header to all the proxies.
434 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header); 434 void OnDidAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header);
435 435
436 // Resets Content Security Policy in all the proxies. 436 // Resets Content Security Policy in all the proxies.
437 void OnDidResetContentSecurityPolicy(); 437 void OnDidResetContentSecurityPolicy();
438 438
439 // Sends updated enforcement of strict mixed content checking to all 439 // Sends updated enforcement of insecure request policy to all frame proxies
440 // frame proxies when the frame changes its setting. 440 // when the frame changes its setting.
441 void OnEnforceStrictMixedContentChecking(bool should_enforce); 441 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy);
442 442
443 // Called on a frame to notify it that its out-of-process parent frame 443 // Called on a frame to notify it that its out-of-process parent frame
444 // changed a property (such as allowFullscreen) on its <iframe> element. 444 // changed a property (such as allowFullscreen) on its <iframe> element.
445 // Sends updated WebFrameOwnerProperties to the RenderFrame and to all 445 // Sends updated WebFrameOwnerProperties to the RenderFrame and to all
446 // proxies, skipping the parent process. 446 // proxies, skipping the parent process.
447 void OnDidUpdateFrameOwnerProperties( 447 void OnDidUpdateFrameOwnerProperties(
448 const blink::WebFrameOwnerProperties& properties); 448 const blink::WebFrameOwnerProperties& properties);
449 449
450 // Send updated origin to all frame proxies when the frame navigates to a new 450 // Send updated origin to all frame proxies when the frame navigates to a new
451 // origin. 451 // origin.
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
803 std::unique_ptr<RenderFrameHostImpl> speculative_render_frame_host_; 803 std::unique_ptr<RenderFrameHostImpl> speculative_render_frame_host_;
804 804
805 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; 805 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_;
806 806
807 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); 807 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager);
808 }; 808 };
809 809
810 } // namespace content 810 } // namespace content
811 811
812 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 812 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/frame_host/render_frame_host_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698