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

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

Issue 2650973006: Check |m_inspectedFrames| in InspectorNetworkAgent to avoid crashes. (Closed)
Patch Set: Created 3 years, 11 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/InspectorNetworkAgent.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/InspectorNetworkAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
index 1fc711cf1b987d114699a1dd02104aa2893de74c..d2c5ea7cec42f69506610e0a6055bd72fea12142 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
@@ -249,7 +249,9 @@ class CORE_EXPORT InspectorNetworkAgent final
std::unique_ptr<GetResponseBodyCallback>);
void clearPendingRequestData();
+ // |m_inspectedFrames| is null when the agent is for worker global scopes.
Member<InspectedFrames> m_inspectedFrames;
+
String m_userAgentOverride;
String m_hostId;
Member<NetworkResourcesData> m_resourcesData;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698