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

Side by Side Diff: content/test/test_render_frame_host.h

Issue 2898663002: Implement feature policy checks in the browser process (Closed)
Patch Set: Implement feature policy checks in the browser process 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
« no previous file with comments | « content/public/test/test_renderer_host.h ('k') | content/test/test_render_frame_host.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_TEST_TEST_RENDER_FRAME_HOST_H_ 5 #ifndef CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_
6 #define CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ 6 #define CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 const GURL& url) override; 71 const GURL& url) override;
72 void SendNavigateWithTransition(int nav_entry_id, 72 void SendNavigateWithTransition(int nav_entry_id,
73 bool did_create_new_entry, 73 bool did_create_new_entry,
74 const GURL& url, 74 const GURL& url,
75 ui::PageTransition transition) override; 75 ui::PageTransition transition) override;
76 void SetContentsMimeType(const std::string& mime_type) override; 76 void SetContentsMimeType(const std::string& mime_type) override;
77 void SendBeforeUnloadACK(bool proceed) override; 77 void SendBeforeUnloadACK(bool proceed) override;
78 void SimulateSwapOutACK() override; 78 void SimulateSwapOutACK() override;
79 void NavigateAndCommitRendererInitiated(bool did_create_new_entry, 79 void NavigateAndCommitRendererInitiated(bool did_create_new_entry,
80 const GURL& url) override; 80 const GURL& url) override;
81 void SimulateFeaturePolicyHeader(
82 blink::WebFeaturePolicyFeature feature,
83 const std::vector<url::Origin>& whitelist) override;
81 84
82 void SendNavigateWithReplacement(int nav_entry_id, 85 void SendNavigateWithReplacement(int nav_entry_id,
83 bool did_create_new_entry, 86 bool did_create_new_entry,
84 const GURL& url); 87 const GURL& url);
85 88
86 using ModificationCallback = 89 using ModificationCallback =
87 base::Callback<void(FrameHostMsg_DidCommitProvisionalLoad_Params*)>; 90 base::Callback<void(FrameHostMsg_DidCommitProvisionalLoad_Params*)>;
88 91
89 void SendNavigateWithModificationCallback( 92 void SendNavigateWithModificationCallback(
90 int nav_entry_id, 93 int nav_entry_id,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 164
162 // The last commit was for an error page. 165 // The last commit was for an error page.
163 bool last_commit_was_error_page_; 166 bool last_commit_was_error_page_;
164 167
165 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); 168 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost);
166 }; 169 };
167 170
168 } // namespace content 171 } // namespace content
169 172
170 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ 173 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_
OLDNEW
« no previous file with comments | « content/public/test/test_renderer_host.h ('k') | content/test/test_render_frame_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698