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

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

Issue 251183005: [4/4] Process clearBrowserCahce/cookies commands in browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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 | « Source/core/inspector/InspectorController.cpp ('k') | Source/core/inspector/InspectorResourceAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorResourceAgent.h
diff --git a/Source/core/inspector/InspectorResourceAgent.h b/Source/core/inspector/InspectorResourceAgent.h
index 247f1763f6618b058a4b0920049a83e9c0e03b15..cbd98b899a922bf37040d8b440e278a139557a9c 100644
--- a/Source/core/inspector/InspectorResourceAgent.h
+++ b/Source/core/inspector/InspectorResourceAgent.h
@@ -51,7 +51,6 @@ class DocumentLoader;
class FormData;
class LocalFrame;
class HTTPHeaderMap;
-class InspectorClient;
class InspectorFrontend;
class InspectorPageAgent;
class InstrumentingAgents;
@@ -74,9 +73,9 @@ typedef String ErrorString;
class InspectorResourceAgent FINAL : public InspectorBaseAgent<InspectorResourceAgent>, public InspectorBackendDispatcher::NetworkCommandHandler {
public:
- static PassOwnPtr<InspectorResourceAgent> create(InspectorPageAgent* pageAgent, InspectorClient* client)
+ static PassOwnPtr<InspectorResourceAgent> create(InspectorPageAgent* pageAgent)
{
- return adoptPtr(new InspectorResourceAgent(pageAgent, client));
+ return adoptPtr(new InspectorResourceAgent(pageAgent));
}
virtual void setFrontend(InspectorFrontend*) OVERRIDE;
@@ -137,9 +136,7 @@ public:
virtual void replayXHR(ErrorString*, const String& requestId) OVERRIDE;
virtual void canClearBrowserCache(ErrorString*, bool*) OVERRIDE;
- virtual void clearBrowserCache(ErrorString*) OVERRIDE;
virtual void canClearBrowserCookies(ErrorString*, bool*) OVERRIDE;
- virtual void clearBrowserCookies(ErrorString*) OVERRIDE;
virtual void setCacheDisabled(ErrorString*, bool cacheDisabled) OVERRIDE;
virtual void loadResourceForFrontend(ErrorString*, const String& frameId, const String& url, const RefPtr<JSONObject>* requestHeaders, PassRefPtr<LoadResourceForFrontendCallback>) OVERRIDE;
@@ -148,12 +145,11 @@ public:
bool fetchResourceContent(LocalFrame*, const KURL&, String* content, bool* base64Encoded);
private:
- InspectorResourceAgent(InspectorPageAgent*, InspectorClient*);
+ InspectorResourceAgent(InspectorPageAgent*);
void enable();
InspectorPageAgent* m_pageAgent;
- InspectorClient* m_client;
InspectorFrontend::Network* m_frontend;
String m_userAgentOverride;
OwnPtr<NetworkResourcesData> m_resourcesData;
« no previous file with comments | « Source/core/inspector/InspectorController.cpp ('k') | Source/core/inspector/InspectorResourceAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698