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

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

Issue 2874053003: Add checks for Feature Policy to the mojo Permission Service (Closed)
Patch Set: Add checks for Feature Policy to the mojo Permission Service Created 3 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_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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 RenderFrameHostDelegate* delegate, 645 RenderFrameHostDelegate* delegate,
646 RenderWidgetHostDelegate* rwh_delegate, 646 RenderWidgetHostDelegate* rwh_delegate,
647 FrameTree* frame_tree, 647 FrameTree* frame_tree,
648 FrameTreeNode* frame_tree_node, 648 FrameTreeNode* frame_tree_node,
649 int32_t routing_id, 649 int32_t routing_id,
650 int32_t widget_routing_id, 650 int32_t widget_routing_id,
651 bool hidden, 651 bool hidden,
652 bool renderer_initiated_creation); 652 bool renderer_initiated_creation);
653 653
654 private: 654 private:
655 friend class PermissionServiceImplTest;
655 friend class RenderFrameHostFeaturePolicyTest; 656 friend class RenderFrameHostFeaturePolicyTest;
656 friend class TestRenderFrameHost; 657 friend class TestRenderFrameHost;
657 friend class TestRenderViewHost; 658 friend class TestRenderViewHost;
658 659
659 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, 660 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest,
660 CreateRenderViewAfterProcessKillAndClosedProxy); 661 CreateRenderViewAfterProcessKillAndClosedProxy);
661 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, DontSelectInvalidFiles); 662 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, DontSelectInvalidFiles);
662 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, 663 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest,
663 RestoreFileAccessForHistoryNavigation); 664 RestoreFileAccessForHistoryNavigation);
664 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, 665 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest,
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
1238 1239
1239 // NOTE: This must be the last member. 1240 // NOTE: This must be the last member.
1240 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1241 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1241 1242
1242 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1243 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1243 }; 1244 };
1244 1245
1245 } // namespace content 1246 } // namespace content
1246 1247
1247 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1248 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698