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

Unified Diff: third_party/WebKit/Source/platform/testing/weburl_loader_mock_factory_impl.h

Issue 2831033002: Use unique_ptr for Platform::CreateURLLoader (Closed)
Patch Set: Created 3 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: third_party/WebKit/Source/platform/testing/weburl_loader_mock_factory_impl.h
diff --git a/third_party/WebKit/Source/platform/testing/weburl_loader_mock_factory_impl.h b/third_party/WebKit/Source/platform/testing/weburl_loader_mock_factory_impl.h
index 8b054c8afe44509e49f61aebee33d952f42442eb..8fe9d11453917b5f6b0d718e4d9b16d7baece896 100644
--- a/third_party/WebKit/Source/platform/testing/weburl_loader_mock_factory_impl.h
+++ b/third_party/WebKit/Source/platform/testing/weburl_loader_mock_factory_impl.h
@@ -36,7 +36,8 @@ class WebURLLoaderMockFactoryImpl : public WebURLLoaderMockFactory {
~WebURLLoaderMockFactoryImpl() override;
// WebURLLoaderMockFactory:
- WebURLLoader* CreateURLLoader(WebURLLoader* default_loader) override;
+ std::unique_ptr<WebURLLoader> CreateURLLoader(
+ std::unique_ptr<WebURLLoader> default_loader) override;
void RegisterURL(const WebURL& url,
const WebURLResponse& response,
const WebString& file_path = WebString()) override;

Powered by Google App Engine
This is Rietveld 408576698