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

Unified Diff: third_party/WebKit/Source/core/timing/PerformanceResourceTiming.h

Issue 2105713002: Render process changes for ResourceTiming sizes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@resource_timing_sizes_browser_process
Patch Set: Fix lint error: ASSERT -> DCHECK Created 4 years, 6 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: third_party/WebKit/Source/core/timing/PerformanceResourceTiming.h
diff --git a/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.h b/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.h
index 98858fe43ca52e2faa08ac94f3dd8b5e45565803..dc852d1f4a724fa7cb60ce4e79cebe123812efd4 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.h
+++ b/third_party/WebKit/Source/core/timing/PerformanceResourceTiming.h
@@ -68,6 +68,9 @@ public:
double requestStart() const;
double responseStart() const;
double responseEnd() const;
+ unsigned long long transferSize() const;
+ unsigned long long encodedBodySize() const;
+ unsigned long long decodedBodySize() const;
protected:
void buildJSONValue(V8ObjectBuilder&) const override;
@@ -83,6 +86,9 @@ private:
RefPtr<ResourceLoadTiming> m_timing;
double m_lastRedirectEndTime;
double m_finishTime;
+ unsigned long long m_transferSize;
+ unsigned long long m_encodedBodySize;
+ unsigned long long m_decodedBodySize;
bool m_didReuseConnection;
bool m_allowTimingDetails;
bool m_allowRedirectDetails;

Powered by Google App Engine
This is Rietveld 408576698