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

Unified Diff: third_party/WebKit/public/platform/WebURLLoaderMockFactory.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
« no previous file with comments | « third_party/WebKit/public/platform/Platform.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebURLLoaderMockFactory.h
diff --git a/third_party/WebKit/public/platform/WebURLLoaderMockFactory.h b/third_party/WebKit/public/platform/WebURLLoaderMockFactory.h
index 4c0716262387e0d6f11c567b2f3690146e8e0bfc..76321e620ff8b7fe76c5426afa37ffc40a37aa23 100644
--- a/third_party/WebKit/public/platform/WebURLLoaderMockFactory.h
+++ b/third_party/WebKit/public/platform/WebURLLoaderMockFactory.h
@@ -28,7 +28,8 @@ class WebURLLoaderMockFactory {
// Create a WebURLLoader that takes care of mocked requests.
// Non-mocked request are forwarded to given loader which should not
// be nullptr.
- virtual WebURLLoader* CreateURLLoader(WebURLLoader*) = 0;
+ virtual std::unique_ptr<WebURLLoader> CreateURLLoader(
+ std::unique_ptr<WebURLLoader>) = 0;
// Registers a response and the file to be served when the specified URL
// is loaded. If no file is specified then the response content will be empty.
« no previous file with comments | « third_party/WebKit/public/platform/Platform.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698