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

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

Issue 267393003: DevTools: Load document (html) content from disk cache in page agent enabling. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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: Source/core/inspector/InspectorController.h
diff --git a/Source/core/inspector/InspectorController.h b/Source/core/inspector/InspectorController.h
index cb20342a929932894539e03892ed16efd18fec90..8968b2257d899dd02e93858254342e9d928124e8 100644
--- a/Source/core/inspector/InspectorController.h
+++ b/Source/core/inspector/InspectorController.h
@@ -67,6 +67,7 @@ class PlatformKeyboardEvent;
class PlatformMouseEvent;
class PlatformTouchEvent;
class Node;
+class InspectorResourceContentLoader;
class InspectorController {
WTF_MAKE_NONCOPYABLE(InspectorController);
@@ -89,7 +90,7 @@ public:
void dispatchMessageFromFrontend(const String& message);
- void connectFrontend(InspectorFrontendChannel*);
+ void connectFrontend(InspectorFrontendChannel*, bool isReusing = false);
pfeldman 2014/05/20 19:50:49 There are no public callers with isReusing defined
void disconnectFrontend();
void reconnectFrontend();
void reuseFrontend(InspectorFrontendChannel*, const String& inspectorStateCookie);
@@ -133,12 +134,16 @@ public:
void didRemovePageOverlay(const GraphicsLayer*);
private:
+ class InspectorResourceContentLoaderCallback;
+
InspectorController(Page*, InspectorClient*);
void initializeDeferredAgents();
friend InstrumentingAgents* instrumentationForPage(Page*);
+ void resourcesContentLoaded();
+
RefPtr<InstrumentingAgents> m_instrumentingAgents;
OwnPtr<InjectedScriptManager> m_injectedScriptManager;
OwnPtr<InspectorCompositeState> m_state;
@@ -159,6 +164,8 @@ private:
Vector<InspectorAgent*> m_moduleAgents;
bool m_isUnderTest;
bool m_deferredAgentsInitialized;
+ OwnPtr<InspectorResourceContentLoader> m_inspectorResourceContentLoader;
+ Vector<String> m_messages;
pfeldman 2014/05/20 19:50:49 what messages?
};
}

Powered by Google App Engine
This is Rietveld 408576698