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

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: Navigation throttle for the Safe Browsing Subresource Filter. Created 4 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 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 bool is_post, 109 bool is_post,
110 const Referrer& sanitized_referrer, 110 const Referrer& sanitized_referrer,
111 bool has_user_gesture, 111 bool has_user_gesture,
112 ui::PageTransition transition, 112 ui::PageTransition transition,
113 bool is_external_protocol) override; 113 bool is_external_protocol) override;
114 NavigationThrottle::ThrottleCheckResult CallWillRedirectRequestForTesting( 114 NavigationThrottle::ThrottleCheckResult CallWillRedirectRequestForTesting(
115 const GURL& new_url, 115 const GURL& new_url,
116 bool new_method_is_post, 116 bool new_method_is_post,
117 const GURL& new_referrer_url, 117 const GURL& new_referrer_url,
118 bool new_is_external_protocol) override; 118 bool new_is_external_protocol) override;
119 NavigationThrottle::ThrottleCheckResult CallWillProcessResponseForTesting(
120 RenderFrameHost* render_frame_host) override;
121
119 NavigationData* GetNavigationData() override; 122 NavigationData* GetNavigationData() override;
120 123
121 NavigatorDelegate* GetDelegate() const; 124 NavigatorDelegate* GetDelegate() const;
122 125
123 // Returns the response headers for the request or nullptr if there are none. 126 // Returns the response headers for the request or nullptr if there are none.
124 // This should only be accessed after a redirect was encountered or after the 127 // This should only be accessed after a redirect was encountered or after the
125 // navigation is ready to commit. The headers returned should not be modified, 128 // navigation is ready to commit. The headers returned should not be modified,
126 // as modifications will not be reflected in the network stack. 129 // as modifications will not be reflected in the network stack.
127 const net::HttpResponseHeaders* GetResponseHeaders(); 130 const net::HttpResponseHeaders* GetResponseHeaders();
128 131
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 328
326 // Embedder data tied to this navigation. 329 // Embedder data tied to this navigation.
327 std::unique_ptr<NavigationData> navigation_data_; 330 std::unique_ptr<NavigationData> navigation_data_;
328 331
329 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); 332 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl);
330 }; 333 };
331 334
332 } // namespace content 335 } // namespace content
333 336
334 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ 337 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698