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

Unified Diff: components/dom_distiller/core/distiller_url_fetcher.h

Issue 1879613003: Convert //components/dom_distiller from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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/dom_distiller/core/distiller_url_fetcher.h
diff --git a/components/dom_distiller/core/distiller_url_fetcher.h b/components/dom_distiller/core/distiller_url_fetcher.h
index 176db655991aa144ca0fe8df248c4ebc2fc65b66..d0178e0dbbafb094a7ae5c7b7e86975f69ecd37e 100644
--- a/components/dom_distiller/core/distiller_url_fetcher.h
+++ b/components/dom_distiller/core/distiller_url_fetcher.h
@@ -44,7 +44,7 @@ class DistillerURLFetcher : public net::URLFetcherDelegate {
const URLFetcherCallback& callback);
protected:
- virtual scoped_ptr<net::URLFetcher> CreateURLFetcher(
+ virtual std::unique_ptr<net::URLFetcher> CreateURLFetcher(
net::URLRequestContextGetter* context_getter,
const std::string& url);
@@ -52,7 +52,7 @@ class DistillerURLFetcher : public net::URLFetcherDelegate {
// net::URLFetcherDelegate:
void OnURLFetchComplete(const net::URLFetcher* source) override;
- scoped_ptr<net::URLFetcher> url_fetcher_;
+ std::unique_ptr<net::URLFetcher> url_fetcher_;
URLFetcherCallback callback_;
net::URLRequestContextGetter* context_getter_;
DISALLOW_COPY_AND_ASSIGN(DistillerURLFetcher);
« no previous file with comments | « components/dom_distiller/core/distiller_unittest.cc ('k') | components/dom_distiller/core/distiller_url_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698