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

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

Issue 1092123004: DevTools: remove dependency of most agents on InspectorPageAgent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: further cuts on InspectorPageAgent inter-agents API Created 5 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: Source/core/inspector/InspectorPageAgent.h
diff --git a/Source/core/inspector/InspectorPageAgent.h b/Source/core/inspector/InspectorPageAgent.h
index 5d009a8368c6e2e27b52bb82a6cdf44422d7a81d..22a575c89a63c715a5815b8f3972061bad364445 100644
--- a/Source/core/inspector/InspectorPageAgent.h
+++ b/Source/core/inspector/InspectorPageAgent.h
@@ -124,11 +124,6 @@ public:
void discardAgent() override;
// Cross-agents API
- static DocumentLoader* assertDocumentLoader(ErrorString*, LocalFrame*);
- LocalFrame* frameForId(const String& frameId);
- LocalFrame* assertFrame(ErrorString*, const String& frameId);
- FrameHost* frameHost();
- LocalFrame* inspectedFrame() const { return m_inspectedFrame.get(); }
LocalFrame* findFrameWithSecurityOrigin(const String& originRawString);
bool screencastEnabled();
InspectorResourceContentLoader* resourceContentLoader() { return m_inspectorResourceContentLoader.get(); }
@@ -142,6 +137,8 @@ private:
void finishReload();
void getResourceContentAfterResourcesContentLoaded(const String& frameId, const String& url, PassRefPtrWillBeRawPtr<GetResourceContentCallback>);
+ LocalFrame* frameForId(const String& frameId);
+ LocalFrame* assertFrame(ErrorString*, const String& frameId);
static bool dataContent(const char* data, unsigned size, const String& textEncodingName, bool withBase64Encode, String* result);

Powered by Google App Engine
This is Rietveld 408576698