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

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

Issue 338993006: DevTools: pass agent host id to the renderer (Blink). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Same w/ reattach. Created 6 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
« 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 cd0dca57a2eb55b629a169d70442e13f9bb93104..8eafcc7ad50be912cf02073ac54b358b3f5e93c8 100644
--- a/Source/core/inspector/InspectorResourceAgent.h
+++ b/Source/core/inspector/InspectorResourceAgent.h
@@ -142,6 +142,7 @@ public:
virtual void loadResourceForFrontend(ErrorString*, const String& frameId, const String& url, const RefPtr<JSONObject>* requestHeaders, PassRefPtr<LoadResourceForFrontendCallback>) OVERRIDE;
// Called from other agents.
+ void setHostId(const String&);
bool fetchResourceContent(LocalFrame*, const KURL&, String* content, bool* base64Encoded);
private:
@@ -152,6 +153,7 @@ private:
InspectorPageAgent* m_pageAgent;
InspectorFrontend::Network* m_frontend;
String m_userAgentOverride;
+ String m_hostId;
OwnPtr<NetworkResourcesData> m_resourcesData;
typedef HashMap<ThreadableLoaderClient*, RefPtr<XHRReplayData> > PendingXHRReplayDataMap;
« 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