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

Unified Diff: content/shell/renderer/test_runner/web_test_proxy.h

Issue 1044923003: Add the WebHistoryCommitType to didFailProvisionalLoad, part 3. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@committype1
Patch Set: fix Created 5 years, 9 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/shell/renderer/test_runner/web_test_proxy.h
diff --git a/content/shell/renderer/test_runner/web_test_proxy.h b/content/shell/renderer/test_runner/web_test_proxy.h
index 88dd814c2e0ef9a40ac24d1f828dadec119d5f32..d170c95d219994cb269bf22286212d72619ae2f8 100644
--- a/content/shell/renderer/test_runner/web_test_proxy.h
+++ b/content/shell/renderer/test_runner/web_test_proxy.h
@@ -187,7 +187,8 @@ class WebTestProxyBase {
void DidStartProvisionalLoad(blink::WebLocalFrame*);
void DidReceiveServerRedirectForProvisionalLoad(blink::WebLocalFrame* frame);
bool DidFailProvisionalLoad(blink::WebLocalFrame* frame,
- const blink::WebURLError& error);
+ const blink::WebURLError& error,
+ blink::WebHistoryCommitType commit_type);
void DidCommitProvisionalLoad(blink::WebLocalFrame* frame,
const blink::WebHistoryItem& history_item,
blink::WebHistoryCommitType history_type);
@@ -199,7 +200,8 @@ class WebTestProxyBase {
void DidFinishDocumentLoad(blink::WebLocalFrame* frame);
void DidHandleOnloadEvents(blink::WebLocalFrame* frame);
void DidFailLoad(blink::WebLocalFrame* frame,
- const blink::WebURLError& error);
+ const blink::WebURLError& error,
+ blink::WebHistoryCommitType commit_type);
void DidFinishLoad(blink::WebLocalFrame* frame);
void DidChangeLocationWithinPage(blink::WebLocalFrame* frame);
void DidDetectXSS(blink::WebLocalFrame* frame,
« no previous file with comments | « content/shell/renderer/test_runner/web_frame_test_proxy.h ('k') | content/shell/renderer/test_runner/web_test_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698