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

Unified Diff: components/suggestions/suggestions_service.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
Index: components/suggestions/suggestions_service.h
diff --git a/components/suggestions/suggestions_service.h b/components/suggestions/suggestions_service.h
index b0d0f4c54461f1dbdd0e47af80c3c1d0e1d28d00..34e03622c6c1dbca92d3acd9617f443aac9746b4 100644
--- a/components/suggestions/suggestions_service.h
+++ b/components/suggestions/suggestions_service.h
@@ -111,7 +111,7 @@ class SuggestionsService : public KeyedService, public net::URLFetcherDelegate {
FRIEND_TEST_ALL_PREFIXES(SuggestionsServiceTest, UpdateBlacklistDelay);
// Creates a request to the suggestions service, properly setting headers.
- net::URLFetcher* CreateSuggestionsRequest(const GURL& url);
+ scoped_ptr<net::URLFetcher> CreateSuggestionsRequest(const GURL& url);
// net::URLFetcherDelegate implementation.
// Called when fetch request completes. Parses the received suggestions data,
« no previous file with comments | « components/signin/core/browser/gaia_cookie_manager_service.cc ('k') | components/suggestions/suggestions_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698