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

Unified Diff: third_party/WebKit/Source/core/fetch/FetchUtils.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/fetch/FetchUtils.cpp
diff --git a/third_party/WebKit/Source/core/fetch/FetchUtils.cpp b/third_party/WebKit/Source/core/fetch/FetchUtils.cpp
index 1cec7b17a5fc140f6f09d4109cfc7fdcddc31a61..ef2c884821d9b276feb12e499f5096e078da806e 100644
--- a/third_party/WebKit/Source/core/fetch/FetchUtils.cpp
+++ b/third_party/WebKit/Source/core/fetch/FetchUtils.cpp
@@ -4,7 +4,7 @@
#include "core/fetch/FetchUtils.h"
-#include "core/inspector/InspectorInstrumentation.h"
+#include "platform/HTTPNames.h"
#include "platform/network/HTTPHeaderMap.h"
#include "platform/network/HTTPParsers.h"
#include "wtf/HashSet.h"
@@ -99,7 +99,7 @@ bool FetchUtils::isSimpleHeader(const AtomicString& name, const AtomicString& va
if (equalIgnoringCase(name, "accept")
|| equalIgnoringCase(name, "accept-language")
|| equalIgnoringCase(name, "content-language")
- || equalIgnoringCase(name, InspectorInstrumentation::kInspectorEmulateNetworkConditionsClientId)
+ || equalIgnoringCase(name, HTTPNames::X_DevTools_Emulate_Network_Conditions_Client_Id)
|| equalIgnoringCase(name, "save-data"))
return true;

Powered by Google App Engine
This is Rietveld 408576698