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

Unified Diff: content/test/test_render_frame_host.h

Issue 1002803002: Classify navigations without page id in parallel to the existing classifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unit tests 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/test/test_render_frame_host.h
diff --git a/content/test/test_render_frame_host.h b/content/test/test_render_frame_host.h
index 333c2d776694e29d49984ffd9dcf748797cd3ff3..3ae5f839b1220fd0eff0567aa57533d505ceb0e4 100644
--- a/content/test/test_render_frame_host.h
+++ b/content/test/test_render_frame_host.h
@@ -50,9 +50,17 @@ class TestRenderFrameHost : public RenderFrameHostImpl,
// RenderFrameHostTester implementation.
TestRenderFrameHost* AppendChild(const std::string& frame_name) override;
- void SendNavigate(int page_id, const GURL& url) override;
- void SendFailedNavigate(int page_id, const GURL& url) override;
+ void SendNavigate(int page_id,
+ int nav_entry_id,
+ bool did_create_new_entry,
+ const GURL& url) override;
+ void SendFailedNavigate(int page_id,
+ int nav_entry_id,
+ bool did_create_new_entry,
+ const GURL& url) override;
void SendNavigateWithTransition(int page_id,
+ int nav_entry_id,
+ bool did_create_new_entry,
const GURL& url,
ui::PageTransition transition) override;
void SetContentsMimeType(const std::string& mime_type) override;
@@ -61,24 +69,34 @@ class TestRenderFrameHost : public RenderFrameHostImpl,
void SendNavigateWithTransitionAndResponseCode(
int page_id,
+ int nav_entry_id,
+ bool did_create_new_entry,
const GURL& url, ui::PageTransition transition,
int response_code);
void SendNavigateWithOriginalRequestURL(
int page_id,
+ int nav_entry_id,
+ bool did_create_new_entry,
const GURL& url,
const GURL& original_request_url);
void SendNavigateWithFile(
int page_id,
+ int nav_entry_id,
+ bool did_create_new_entry,
const GURL& url,
const base::FilePath& file_path);
void SendNavigateWithParams(
FrameHostMsg_DidCommitProvisionalLoad_Params* params);
void SendNavigateWithRedirects(
int page_id,
+ int nav_entry_id,
+ bool did_create_new_entry,
const GURL& url,
const std::vector<GURL>& redirects);
void SendNavigateWithParameters(
int page_id,
+ int nav_entry_id,
+ bool did_create_new_entry,
const GURL& url,
ui::PageTransition transition,
const GURL& original_request_url,

Powered by Google App Engine
This is Rietveld 408576698