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

Unified Diff: content/test/test_web_contents.h

Issue 2584513003: PlzNavigate: identify same-page browser-initiated navigation. (Closed)
Patch Set: Adding a DCHECK to probably make a lot of tests fail. Created 3 years, 11 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/test/test_web_contents.h
diff --git a/content/test/test_web_contents.h b/content/test/test_web_contents.h
index 34d42a2ac73449b45c39fe9d6e93e32a997a0b8f..0533d10deccabd3aaca00ec3ae740d80fc2e9009 100644
--- a/content/test/test_web_contents.h
+++ b/content/test/test_web_contents.h
@@ -63,6 +63,16 @@ class TestWebContents : public WebContentsImpl, public WebContentsTester {
const GURL& url,
const Referrer& referrer,
ui::PageTransition transition) override;
+ void TestDidNavigateWithSequenceNumber(
+ RenderFrameHost* render_frame_host,
+ int nav_entry_id,
+ bool did_create_new_entry,
+ const GURL& url,
+ const Referrer& referrer,
+ ui::PageTransition transition,
+ bool was_within_same_page,
+ int item_sequence_number,
+ int document_sequence_number);
const std::string& GetSaveFrameHeaders() override;
// True if a cross-site navigation is pending.

Powered by Google App Engine
This is Rietveld 408576698