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

Unified Diff: content/public/test/test_navigation_observer.cc

Issue 1194383003: Add a flag showing whether the current request was ignored by a handler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix trybot failures (DidFailProvisionalLoad calls in unit tests) Created 5 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 side-by-side diff with in-line comments
Download patch
Index: content/public/test/test_navigation_observer.cc
diff --git a/content/public/test/test_navigation_observer.cc b/content/public/test/test_navigation_observer.cc
index 7c2d0281a59b552e57522f317a001b445940ca53..267dedf22b24ef170f43d5139639e0bdb4dbda75 100644
--- a/content/public/test/test_navigation_observer.cc
+++ b/content/public/test/test_navigation_observer.cc
@@ -58,7 +58,8 @@ class TestNavigationObserver::TestWebContentsObserver
RenderFrameHost* render_frame_host,
const GURL& validated_url,
int error_code,
- const base::string16& error_description) override {
+ const base::string16& error_description,
+ bool was_ignored_by_handler) override {
parent_->OnDidFailProvisionalLoad(render_frame_host, validated_url,
error_code, error_description);
}

Powered by Google App Engine
This is Rietveld 408576698