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

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

Issue 1972923004: X-DevTools-Emulate-Network-Conditions-Client-Id header shouldn't block cache reuse (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/InspectorResourceAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp
index b4cff806ccc3696881b138852ef13dbdf4e44c33..1cb7774496cba5c2f99e7215bc8b0fb7a9086f52 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp
@@ -537,7 +537,7 @@ void InspectorResourceAgent::willSendRequest(LocalFrame* frame, unsigned long id
willSendRequestInternal(frame, identifier, loader, request, redirectResponse, initiatorInfo);
if (!m_hostId.isEmpty())
- request.addHTTPHeaderField(InspectorInstrumentation::kInspectorEmulateNetworkConditionsClientId, AtomicString(m_hostId));
+ request.addHTTPHeaderField(HTTPNames::X_DevTools_Emulate_Network_Conditions_Client_Id, AtomicString(m_hostId));
}
void InspectorResourceAgent::markResourceAsCached(unsigned long identifier)

Powered by Google App Engine
This is Rietveld 408576698