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

Unified Diff: chrome/renderer/security_filter_peer.h

Issue 7602023: Use a monotonic clock (TimeTicks) to report network times to WebCore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added comment Created 9 years, 4 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: chrome/renderer/security_filter_peer.h
diff --git a/chrome/renderer/security_filter_peer.h b/chrome/renderer/security_filter_peer.h
index 7095d76dfa33e5d3a7b81722f52612e5a01a6064..1de46687a707504c3cedee8fdbb6fe968e89fc41 100644
--- a/chrome/renderer/security_filter_peer.h
+++ b/chrome/renderer/security_filter_peer.h
@@ -43,7 +43,7 @@ class SecurityFilterPeer : public webkit_glue::ResourceLoaderBridge::Peer {
int encoded_data_length);
virtual void OnCompletedRequest(const net::URLRequestStatus& status,
const std::string& security_info,
- const base::Time& completion_time);
+ const base::TimeTicks& completion_time);
protected:
SecurityFilterPeer(webkit_glue::ResourceLoaderBridge* resource_loader_bridge,
@@ -73,7 +73,7 @@ class BufferedPeer : public SecurityFilterPeer {
int encoded_data_length);
virtual void OnCompletedRequest(const net::URLRequestStatus& status,
const std::string& security_info,
- const base::Time& completion_time);
+ const base::TimeTicks& completion_time);
protected:
// Invoked when the entire request has been processed before the data is sent
@@ -115,7 +115,7 @@ class ReplaceContentPeer : public SecurityFilterPeer {
int encoded_data_length);
virtual void OnCompletedRequest(const net::URLRequestStatus& status,
const std::string& security_info,
- const base::Time& completion_time);
+ const base::TimeTicks& completion_time);
private:
webkit_glue::ResourceResponseInfo response_info_;

Powered by Google App Engine
This is Rietveld 408576698