commit | 811e357c75a23d27b42fc5c1e3c7a8097c855939 | [log] [tgz] |
---|---|---|
author | rajendrant <[email protected]> | Mon Nov 05 23:18:55 2018 |
committer | Commit Bot <[email protected]> | Mon Nov 05 23:18:55 2018 |
tree | 706f1740154ba3ef5f28b1db4be0e937645b21fa | |
parent | 0e8742cdbef2b71d88fc483f0cef4dfcd8763387 [diff] [blame] |
Migrate PLM metrics for data reduction proxy for network-servicification Move data reduction proxy PLM observer to use OnResourceDataUpdate and use compression ratio to compute the original content length. This CL also plumbs URL to RenderFrameObserver::DidStartResponse to distinguish if its a secure (https) scheme. Bug: 898326 Change-Id: I82ba4fecc7d40b078d49c1b2c722a8ae87917e26 Reviewed-on: https://chromium-review.googlesource.com/c/1313410 Commit-Queue: rajendrant <[email protected]> Reviewed-by: Jesse Doherty <[email protected]> Reviewed-by: Kinuko Yasuda <[email protected]> Reviewed-by: Ryan Sturm <[email protected]> Cr-Commit-Position: refs/heads/master@{#605511}
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h index 7311a27..d736be79 100644 --- a/content/renderer/render_frame_impl.h +++ b/content/renderer/render_frame_impl.h
@@ -904,7 +904,8 @@ // browser. void OnDroppedNavigation(); - void DidStartResponse(int request_id, + void DidStartResponse(const GURL& response_url, + int request_id, const network::ResourceResponseHead& response_head, content::ResourceType resource_type); void DidCompleteResponse(int request_id,