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

Side by Side Diff: content/public/browser/navigation_handle.h

Issue 2060313002: Navigation throttle for the Safe Browsing Subresource Filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pre-tab-activation
Patch Set: adressing engedy@ comments Created 4 years, 5 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/browser/frame_host/navigation_handle_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_PUBLIC_BROWSER_NAVIGATION_HANDLE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_HANDLE_H_
6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_HANDLE_H_ 6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_HANDLE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 ui::PageTransition transition, 185 ui::PageTransition transition,
186 bool is_external_protocol) = 0; 186 bool is_external_protocol) = 0;
187 187
188 // Simulates the network request being redirected. 188 // Simulates the network request being redirected.
189 virtual NavigationThrottle::ThrottleCheckResult 189 virtual NavigationThrottle::ThrottleCheckResult
190 CallWillRedirectRequestForTesting(const GURL& new_url, 190 CallWillRedirectRequestForTesting(const GURL& new_url,
191 bool new_method_is_post, 191 bool new_method_is_post,
192 const GURL& new_referrer_url, 192 const GURL& new_referrer_url,
193 bool new_is_external_protocol) = 0; 193 bool new_is_external_protocol) = 0;
194 194
195 // Simulates the reception of the network response.
196 virtual NavigationThrottle::ThrottleCheckResult
197 CallWillProcessResponseForTesting(RenderFrameHost* render_frame_host) = 0;
198
195 // The NavigationData that the embedder returned from 199 // The NavigationData that the embedder returned from
196 // ResourceDispatcherHostDelegate::GetNavigationData during commit. This will 200 // ResourceDispatcherHostDelegate::GetNavigationData during commit. This will
197 // be a clone of the NavigationData. 201 // be a clone of the NavigationData.
198 virtual NavigationData* GetNavigationData() = 0; 202 virtual NavigationData* GetNavigationData() = 0;
199 }; 203 };
200 204
201 } // namespace content 205 } // namespace content
202 206
203 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_HANDLE_H_ 207 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_HANDLE_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigation_handle_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698