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

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

Issue 2808093005: Blink Rename follow-up: XHRs --big-rename--> _xh_rs --this-fix--> _xhrs. (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
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
index f0c0512d4bbbbc2b91389fcb3567eb5ec7cb4002..d95100635b387a20af01f0b9e8bde76b6123660e 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
@@ -472,7 +472,7 @@ Response InspectorPageAgent::stopLoading() {
static void CachedResourcesForDocument(Document* document,
HeapVector<Member<Resource>>& result,
- bool skip_xh_rs) {
+ bool skip_xhrs) {
const ResourceFetcher::DocumentResourceMap& all_resources =
document->Fetcher()->AllResources();
for (const auto& resource : all_resources) {
@@ -484,7 +484,7 @@ static void CachedResourcesForDocument(Document* document,
// agent), fonts that were referenced in CSS but never used/downloaded, etc.
if (cached_resource->StillNeedsLoad())
continue;
- if (cached_resource->GetType() == Resource::kRaw && skip_xh_rs)
+ if (cached_resource->GetType() == Resource::kRaw && skip_xhrs)
continue;
result.push_back(cached_resource);
}
@@ -507,15 +507,15 @@ HeapVector<Member<Document>> InspectorPageAgent::ImportsForFrame(
}
static HeapVector<Member<Resource>> CachedResourcesForFrame(LocalFrame* frame,
- bool skip_xh_rs) {
+ bool skip_xhrs) {
HeapVector<Member<Resource>> result;
Document* root_document = frame->GetDocument();
HeapVector<Member<Document>> loaders =
InspectorPageAgent::ImportsForFrame(frame);
- CachedResourcesForDocument(root_document, result, skip_xh_rs);
+ CachedResourcesForDocument(root_document, result, skip_xhrs);
for (size_t i = 0; i < loaders.size(); ++i)
- CachedResourcesForDocument(loaders[i], result, skip_xh_rs);
+ CachedResourcesForDocument(loaders[i], result, skip_xhrs);
return result;
}
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698