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

Unified Diff: content/public/browser/navigation_handle.h

Issue 2266653002: Previews infobar tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@newLoFiInfoBarAddUMA
Patch Set: rebase Created 4 years, 3 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
Index: content/public/browser/navigation_handle.h
diff --git a/content/public/browser/navigation_handle.h b/content/public/browser/navigation_handle.h
index 007cd9da717135ea9779f9b1bb015445b4a2f6a8..3118ec61670672698d26d3c394da28a7f7b8de76 100644
--- a/content/public/browser/navigation_handle.h
+++ b/content/public/browser/navigation_handle.h
@@ -204,7 +204,12 @@ class CONTENT_EXPORT NavigationHandle {
// Simulates the reception of the network response.
virtual NavigationThrottle::ThrottleCheckResult
- CallWillProcessResponseForTesting(RenderFrameHost* render_frame_host) = 0;
+ CallWillProcessResponseForTesting(
+ RenderFrameHost* render_frame_host,
+ const std::string& raw_response_headers) = 0;
+
+ // Simulates the navigation being committed.
+ virtual void CallDidCommitNavigationForTesting(const GURL& url) = 0;
// The NavigationData that the embedder returned from
// ResourceDispatcherHostDelegate::GetNavigationData during commit. This will

Powered by Google App Engine
This is Rietveld 408576698