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

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

Issue 1817523003: DevTools: Select max resource size in NetworkResourcesData depending on device capabilities. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/inspector/InspectorResourceAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.h b/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.h
index 92933aa56fecd2859d4753ae3e83e0a8fe33c989..8ab0f89a169c939a8e752d6a7382f3ca60e31af3 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.h
@@ -131,7 +131,7 @@ public:
void didReceiveWebSocketFrameError(unsigned long identifier, const String&);
// Called from frontend
- void enable(ErrorString*) override;
+ void enable(ErrorString*, const Maybe<int>& totalBufferSize, const Maybe<int>& resourceBufferSize) override;
void disable(ErrorString*) override;
void setUserAgentOverride(ErrorString*, const String& userAgent) override;
void setExtraHTTPHeaders(ErrorString*, PassOwnPtr<protocol::Network::Headers>) override;
@@ -154,7 +154,7 @@ public:
private:
explicit InspectorResourceAgent(InspectedFrames*);
- void enable();
+ void enable(int totalBufferSize, int resourceBufferSize);
void willSendRequestInternal(LocalFrame*, unsigned long identifier, DocumentLoader*, const ResourceRequest&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo&);
void delayedRemoveReplayXHR(XMLHttpRequest*);
void removeFinishedReplayXHRFired(Timer<InspectorResourceAgent>*);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698