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

Unified Diff: content/test/test_navigation_url_loader_delegate.h

Issue 1721813002: Adding DRP specfic UMA for FirstContentfulPaint (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits Created 4 years, 7 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
« no previous file with comments | « content/test/test_navigation_url_loader.cc ('k') | content/test/test_navigation_url_loader_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_navigation_url_loader_delegate.h
diff --git a/content/test/test_navigation_url_loader_delegate.h b/content/test/test_navigation_url_loader_delegate.h
index d2ce77506681fefb5d26932bf6cffa1c4eef1fdd..2f48b59fbcd58c8daf2543f4a96a787645b7f5df 100644
--- a/content/test/test_navigation_url_loader_delegate.h
+++ b/content/test/test_navigation_url_loader_delegate.h
@@ -47,22 +47,24 @@ class TestNavigationURLLoaderDelegate : public NavigationURLLoaderDelegate {
void WaitForResponseStarted();
void WaitForRequestFailed();
void WaitForRequestStarted();
void ReleaseBody();
// NavigationURLLoaderDelegate implementation.
void OnRequestRedirected(
const net::RedirectInfo& redirect_info,
const scoped_refptr<ResourceResponse>& response) override;
- void OnResponseStarted(const scoped_refptr<ResourceResponse>& response,
- std::unique_ptr<StreamHandle> body) override;
+ void OnResponseStarted(
+ const scoped_refptr<ResourceResponse>& response,
+ std::unique_ptr<StreamHandle> body,
+ std::unique_ptr<NavigationData> navigation_data) override;
void OnRequestFailed(bool in_cache, int net_error) override;
void OnRequestStarted(base::TimeTicks timestamp) override;
private:
net::RedirectInfo redirect_info_;
scoped_refptr<ResourceResponse> redirect_response_;
scoped_refptr<ResourceResponse> response_;
std::unique_ptr<StreamHandle> body_;
int net_error_;
int on_request_handled_counter_;
« no previous file with comments | « content/test/test_navigation_url_loader.cc ('k') | content/test/test_navigation_url_loader_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698