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

Unified Diff: Source/core/inspector/InspectorResourceContentLoader.h

Issue 892693006: Revert of DevTools: use per-LocalFrame instrumenting agents instead of per-Page ones. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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: Source/core/inspector/InspectorResourceContentLoader.h
diff --git a/Source/core/inspector/InspectorResourceContentLoader.h b/Source/core/inspector/InspectorResourceContentLoader.h
index 71b57509c40d77fb2183c274fe4167377d527640..d37c0c00809a436a81ca398f939307706565b532 100644
--- a/Source/core/inspector/InspectorResourceContentLoader.h
+++ b/Source/core/inspector/InspectorResourceContentLoader.h
@@ -12,7 +12,7 @@
namespace blink {
-class LocalFrame;
+class Page;
class Resource;
class VoidCallback;
@@ -20,7 +20,7 @@
WTF_MAKE_NONCOPYABLE(InspectorResourceContentLoader);
WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
public:
- explicit InspectorResourceContentLoader(LocalFrame*);
+ explicit InspectorResourceContentLoader(Page*);
void ensureResourcesContentLoaded(VoidCallback*);
~InspectorResourceContentLoader();
void trace(Visitor*);
@@ -38,7 +38,7 @@
PersistentHeapVectorWillBeHeapVector<Member<VoidCallback> > m_callbacks;
bool m_allRequestsStarted;
bool m_started;
- RawPtrWillBeMember<LocalFrame> m_inspectedFrame;
+ RawPtrWillBeMember<Page> m_page;
HashSet<ResourceClient*> m_pendingResourceClients;
Vector<ResourcePtr<Resource> > m_resources;
« no previous file with comments | « Source/core/inspector/InspectorResourceAgent.cpp ('k') | Source/core/inspector/InspectorResourceContentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698