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

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

Issue 2611183007: PlzNavigate: Fix for the http/tests/inspector/resource-har-conversion.html layout test failure. (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
Index: third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
index b10f395c0856f54044294c22af6d6fe2a4157c9e..fbca73112233ae07c938954796fedc7dfa526bbd 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
@@ -1509,6 +1509,10 @@ bool InspectorNetworkAgent::fetchResourceContent(Document* document,
return false;
}
+bool InspectorNetworkAgent::cacheDisabled() {
+ return m_state->booleanProperty(NetworkAgentState::cacheDisabled, false);
+}
+
void InspectorNetworkAgent::removeFinishedReplayXHRFired(TimerBase*) {
m_replayXHRsToBeDeleted.clear();
}

Powered by Google App Engine
This is Rietveld 408576698