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

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

Issue 898593002: DevTools: use per-LocalFrame instrumenting agents instead of per-Page ones. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixed assertion Created 5 years, 11 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 d37c0c00809a436a81ca398f939307706565b532..71b57509c40d77fb2183c274fe4167377d527640 100644
--- a/Source/core/inspector/InspectorResourceContentLoader.h
+++ b/Source/core/inspector/InspectorResourceContentLoader.h
@@ -12,7 +12,7 @@
namespace blink {
-class Page;
+class LocalFrame;
class Resource;
class VoidCallback;
@@ -20,7 +20,7 @@ class InspectorResourceContentLoader final : public NoBaseWillBeGarbageCollected
WTF_MAKE_NONCOPYABLE(InspectorResourceContentLoader);
WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
public:
- explicit InspectorResourceContentLoader(Page*);
+ explicit InspectorResourceContentLoader(LocalFrame*);
void ensureResourcesContentLoaded(VoidCallback*);
~InspectorResourceContentLoader();
void trace(Visitor*);
@@ -38,7 +38,7 @@ private:
PersistentHeapVectorWillBeHeapVector<Member<VoidCallback> > m_callbacks;
bool m_allRequestsStarted;
bool m_started;
- RawPtrWillBeMember<Page> m_page;
+ RawPtrWillBeMember<LocalFrame> m_inspectedFrame;
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