Index: third_party/WebKit/Source/core/inspector/InspectorPageAgent.h |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h |
index bc118b1d8652e2651f8388b7d659a29c6e3640b3..b7b0792f1071f184777942adf798253dd00b2401 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h |
+++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h |
@@ -105,8 +105,8 @@ public: |
void reload(ErrorString*, const Maybe<bool>& ignoreCache, const Maybe<String>& scriptToEvaluateOnLoad) override; |
void navigate(ErrorString*, const String& url, String* frameId) override; |
void getResourceTree(ErrorString*, OwnPtr<protocol::Page::FrameResourceTree>* frameTree) override; |
- void getResourceContent(ErrorString*, const String& frameId, const String& url, PassRefPtr<GetResourceContentCallback>) override; |
- void searchInResource(ErrorString*, const String& frameId, const String& url, const String& query, const Maybe<bool>& caseSensitive, const Maybe<bool>& isRegex, PassRefPtr<SearchInResourceCallback>) override; |
+ void getResourceContent(ErrorString*, const String& frameId, const String& url, PassOwnPtr<GetResourceContentCallback>) override; |
+ void searchInResource(ErrorString*, const String& frameId, const String& url, const String& query, const Maybe<bool>& caseSensitive, const Maybe<bool>& isRegex, PassOwnPtr<SearchInResourceCallback>) override; |
void setDocumentContent(ErrorString*, const String& frameId, const String& html) override; |
void startScreencast(ErrorString*, const Maybe<String>& format, const Maybe<int>& quality, const Maybe<int>& maxWidth, const Maybe<int>& maxHeight, const Maybe<int>& everyNthFrame) override; |
void stopScreencast(ErrorString*) override; |
@@ -140,8 +140,8 @@ private: |
InspectorPageAgent(InspectedFrames*, Client*, InspectorResourceContentLoader*, InspectorDebuggerAgent*); |
void finishReload(); |
- void getResourceContentAfterResourcesContentLoaded(const String& frameId, const String& url, PassRefPtr<GetResourceContentCallback>); |
- void searchContentAfterResourcesContentLoaded(const String& frameId, const String& url, const String& query, bool caseSensitive, bool isRegex, PassRefPtr<SearchInResourceCallback>); |
+ void getResourceContentAfterResourcesContentLoaded(const String& frameId, const String& url, PassOwnPtr<GetResourceContentCallback>); |
+ void searchContentAfterResourcesContentLoaded(const String& frameId, const String& url, const String& query, bool caseSensitive, bool isRegex, PassOwnPtr<SearchInResourceCallback>); |
static bool dataContent(const char* data, unsigned size, const String& textEncodingName, bool withBase64Encode, String* result); |