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

Unified Diff: net/url_request/url_fetcher_factory.h

Issue 1117703002: Adjust URLFetcher::Create API so that object is returned as scoped_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unneeded Pass() calls 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
« no previous file with comments | « net/url_request/url_fetcher.cc ('k') | remoting/host/dns_blackhole_checker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_fetcher_factory.h
diff --git a/net/url_request/url_fetcher_factory.h b/net/url_request/url_fetcher_factory.h
index 0c5a5eb1f4f7d277fb8edac57d0322b1eab1d871..2cf024e997af314547e54cd3fa385b41fbaed565 100644
--- a/net/url_request/url_fetcher_factory.h
+++ b/net/url_request/url_fetcher_factory.h
@@ -14,7 +14,7 @@ class URLFetcherDelegate;
// URLFetcher. Factory is intended for testing.
class URLFetcherFactory {
public:
- virtual URLFetcher* CreateURLFetcher(
+ virtual scoped_ptr<URLFetcher> CreateURLFetcher(
int id,
const GURL& url,
URLFetcher::RequestType request_type,
« no previous file with comments | « net/url_request/url_fetcher.cc ('k') | remoting/host/dns_blackhole_checker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698