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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h

Issue 2519893002: Stop dispatching encoded-data-length on each data chunk arrival (Closed)
Patch Set: fix Created 4 years, 1 month 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/inspector/InspectorNetworkAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
index 59ce9b553eeb1e27913eb230f17b5dfe299b2fd9..29ae697de236f547f9efdc7e2131e8c4b56a40e1 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
@@ -97,8 +97,7 @@ class CORE_EXPORT InspectorNetworkAgent final
void didReceiveData(LocalFrame*,
unsigned long identifier,
const char* data,
- int dataLength,
- int encodedDataLength);
+ int dataLength);
void didFinishLoading(unsigned long identifier,
double monotonicFinishTime,
int64_t encodedDataLength);
@@ -107,7 +106,9 @@ class CORE_EXPORT InspectorNetworkAgent final
DocumentLoader*,
const ResourceResponse&,
Resource*);
- void didFailLoading(unsigned long identifier, const ResourceError&);
+ void didFailLoading(unsigned long identifier,
+ const ResourceError&,
+ int64_t encodedDataLength);
void didCommitLoad(LocalFrame*, DocumentLoader*);
void scriptImported(unsigned long identifier, const String& sourceString);
void didReceiveScriptResponse(unsigned long identifier);

Powered by Google App Engine
This is Rietveld 408576698