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

Unified Diff: content/browser/frame_host/navigation_handle_impl.h

Issue 2669013002: Convert ClientSideDetectionHost to use the new navigation callbacks. (Closed)
Patch Set: nit Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/safe_browsing/client_side_detection_host.cc ('k') | content/test/test_render_frame_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/navigation_handle_impl.h
diff --git a/content/browser/frame_host/navigation_handle_impl.h b/content/browser/frame_host/navigation_handle_impl.h
index c092ac80c60537cfe5427b6ff945b488afd2e40f..74b629e6f67bcbf531b4b8024fefac27089dbe63 100644
--- a/content/browser/frame_host/navigation_handle_impl.h
+++ b/content/browser/frame_host/navigation_handle_impl.h
@@ -314,6 +314,11 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
searchable_form_encoding_ = encoding;
}
+ void set_response_headers_for_testing(
+ scoped_refptr<net::HttpResponseHeaders> response_headers) {
+ response_headers_ = response_headers;
+ }
+
private:
friend class NavigationHandleImplTest;
« no previous file with comments | « chrome/browser/safe_browsing/client_side_detection_host.cc ('k') | content/test/test_render_frame_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698