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

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

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/InspectorResourceAgent.h ('k') | Source/web/WebDevToolsAgentImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorResourceAgent.cpp
diff --git a/Source/core/inspector/InspectorResourceAgent.cpp b/Source/core/inspector/InspectorResourceAgent.cpp
index c0a886b5457ee3545a02aff620db9128044ef3ae..12e2baa770a919e5af5510a3ed5b08b2f1e070ff 100644
--- a/Source/core/inspector/InspectorResourceAgent.cpp
+++ b/Source/core/inspector/InspectorResourceAgent.cpp
@@ -793,6 +793,11 @@ void InspectorResourceAgent::frameClearedScheduledNavigation(LocalFrame* frame)
m_frameNavigationInitiatorMap.remove(m_pageAgent->frameId(frame));
}
+void InspectorResourceAgent::setHostId(const String& hostId)
+{
+ m_hostId = hostId;
+}
+
bool InspectorResourceAgent::fetchResourceContent(LocalFrame* frame, const KURL& url, String* content, bool* base64Encoded)
{
// First try to fetch content from the cached resource.
« no previous file with comments | « Source/core/inspector/InspectorResourceAgent.h ('k') | Source/web/WebDevToolsAgentImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698