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

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

Issue 1103253003: PlzNavigate: properly set file access permissions on the RFH (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 const std::map<int32, int>& node_to_browser_plugin_instance_id_map); 558 const std::map<int32, int>& node_to_browser_plugin_instance_id_map);
559 559
560 // Asserts that the given RenderFrameHostImpl is part of the same browser 560 // Asserts that the given RenderFrameHostImpl is part of the same browser
561 // context (and crashes if not), then returns whether the given frame is 561 // context (and crashes if not), then returns whether the given frame is
562 // part of the same site instance. 562 // part of the same site instance.
563 bool IsSameSiteInstance(RenderFrameHostImpl* other_render_frame_host); 563 bool IsSameSiteInstance(RenderFrameHostImpl* other_render_frame_host);
564 564
565 // Informs the content client that geolocation permissions were used. 565 // Informs the content client that geolocation permissions were used.
566 void DidUseGeolocationPermission(); 566 void DidUseGeolocationPermission();
567 567
568 void UpdatePermissionsForNavigation(
569 const CommonNavigationParams& common_params,
570 const RequestNavigationParams& request_params);
571
568 // For now, RenderFrameHosts indirectly keep RenderViewHosts alive via a 572 // For now, RenderFrameHosts indirectly keep RenderViewHosts alive via a
569 // refcount that calls Shutdown when it reaches zero. This allows each 573 // refcount that calls Shutdown when it reaches zero. This allows each
570 // RenderFrameHostManager to just care about RenderFrameHosts, while ensuring 574 // RenderFrameHostManager to just care about RenderFrameHosts, while ensuring
571 // we have a RenderViewHost for each RenderFrameHost. 575 // we have a RenderViewHost for each RenderFrameHost.
572 // TODO(creis): RenderViewHost will eventually go away and be replaced with 576 // TODO(creis): RenderViewHost will eventually go away and be replaced with
573 // some form of page context. 577 // some form of page context.
574 RenderViewHostImpl* render_view_host_; 578 RenderViewHostImpl* render_view_host_;
575 579
576 RenderFrameHostDelegate* delegate_; 580 RenderFrameHostDelegate* delegate_;
577 581
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 726
723 // NOTE: This must be the last member. 727 // NOTE: This must be the last member.
724 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 728 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
725 729
726 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 730 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
727 }; 731 };
728 732
729 } // namespace content 733 } // namespace content
730 734
731 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 735 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698