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

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

Issue 2810073002: Blink Rename follow-up: URLs --big-rename--> _ur_ls --this-fix--> _urls. (Closed)
Patch Set: Created 3 years, 8 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 8e5e6300b6be015c31da61526d4b5e564f4c9367..28e0f75dc0e77578a85c2cde1fb337fb2afa1133 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
@@ -558,14 +558,14 @@ DEFINE_TRACE(InspectorNetworkAgent) {
void InspectorNetworkAgent::ShouldBlockRequest(const ResourceRequest& request,
bool* result) {
- protocol::DictionaryValue* blocked_ur_ls =
+ protocol::DictionaryValue* blocked_urls =
state_->getObject(NetworkAgentState::kBlockedURLs);
- if (!blocked_ur_ls)
+ if (!blocked_urls)
return;
String url = request.Url().GetString();
- for (size_t i = 0; i < blocked_ur_ls->size(); ++i) {
- auto entry = blocked_ur_ls->at(i);
+ for (size_t i = 0; i < blocked_urls->size(); ++i) {
+ auto entry = blocked_urls->at(i);
if (Matches(url, entry.first)) {
*result = true;
return;

Powered by Google App Engine
This is Rietveld 408576698