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

Side by Side Diff: content/browser/frame_host/navigation_handle_impl.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
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_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
7 7
8 #include "content/public/browser/navigation_handle.h" 8 #include "content/public/browser/navigation_handle.h"
9 9
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 bool is_post, 107 bool is_post,
108 const Referrer& sanitized_referrer, 108 const Referrer& sanitized_referrer,
109 bool has_user_gesture, 109 bool has_user_gesture,
110 ui::PageTransition transition, 110 ui::PageTransition transition,
111 bool is_external_protocol) override; 111 bool is_external_protocol) override;
112 NavigationThrottle::ThrottleCheckResult CallWillRedirectRequestForTesting( 112 NavigationThrottle::ThrottleCheckResult CallWillRedirectRequestForTesting(
113 const GURL& new_url, 113 const GURL& new_url,
114 bool new_method_is_post, 114 bool new_method_is_post,
115 const GURL& new_referrer_url, 115 const GURL& new_referrer_url,
116 bool new_is_external_protocol) override; 116 bool new_is_external_protocol) override;
117 NavigationThrottle::ThrottleCheckResult CallWillProcessResponseForTesting(
118 RenderFrameHost* render_frame_host) override;
119
117 NavigationData* GetNavigationData() override; 120 NavigationData* GetNavigationData() override;
118 121
119 NavigatorDelegate* GetDelegate() const; 122 NavigatorDelegate* GetDelegate() const;
120 123
121 // Returns the response headers for the request or nullptr if there are none. 124 // Returns the response headers for the request or nullptr if there are none.
122 // This should only be accessed after a redirect was encountered or after the 125 // This should only be accessed after a redirect was encountered or after the
123 // navigation is ready to commit. The headers returned should not be modified, 126 // navigation is ready to commit. The headers returned should not be modified,
124 // as modifications will not be reflected in the network stack. 127 // as modifications will not be reflected in the network stack.
125 const net::HttpResponseHeaders* GetResponseHeaders(); 128 const net::HttpResponseHeaders* GetResponseHeaders();
126 129
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 317
315 // Embedder data tied to this navigation. 318 // Embedder data tied to this navigation.
316 std::unique_ptr<NavigationData> navigation_data_; 319 std::unique_ptr<NavigationData> navigation_data_;
317 320
318 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); 321 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl);
319 }; 322 };
320 323
321 } // namespace content 324 } // namespace content
322 325
323 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ 326 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698