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

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

Issue 2883213002: Add tests for FeaturePolicy integration with RenderFrameHost (Closed)
Patch Set: Add tests for FeaturePolicy integration with RenderFrameHost Created 3 years, 7 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 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 RenderFrameHostDelegate* delegate, 652 RenderFrameHostDelegate* delegate,
653 RenderWidgetHostDelegate* rwh_delegate, 653 RenderWidgetHostDelegate* rwh_delegate,
654 FrameTree* frame_tree, 654 FrameTree* frame_tree,
655 FrameTreeNode* frame_tree_node, 655 FrameTreeNode* frame_tree_node,
656 int32_t routing_id, 656 int32_t routing_id,
657 int32_t widget_routing_id, 657 int32_t widget_routing_id,
658 bool hidden, 658 bool hidden,
659 bool renderer_initiated_creation); 659 bool renderer_initiated_creation);
660 660
661 private: 661 private:
662 friend class RenderFrameHostFeaturePolicyTest;
662 friend class TestRenderFrameHost; 663 friend class TestRenderFrameHost;
663 friend class TestRenderViewHost; 664 friend class TestRenderViewHost;
664 665
665 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, 666 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest,
666 CreateRenderViewAfterProcessKillAndClosedProxy); 667 CreateRenderViewAfterProcessKillAndClosedProxy);
667 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, DontSelectInvalidFiles); 668 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, DontSelectInvalidFiles);
668 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, 669 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest,
669 RestoreFileAccessForHistoryNavigation); 670 RestoreFileAccessForHistoryNavigation);
670 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, 671 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest,
671 RestoreSubframeFileAccessForHistoryNavigation); 672 RestoreSubframeFileAccessForHistoryNavigation);
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
1228 1229
1229 // NOTE: This must be the last member. 1230 // NOTE: This must be the last member.
1230 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1231 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1231 1232
1232 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1233 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1233 }; 1234 };
1234 1235
1235 } // namespace content 1236 } // namespace content
1236 1237
1237 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1238 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698