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

Unified Diff: components/dom_distiller/ios/distiller_page_factory_ios.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/ios/distiller_page_factory_ios.h
diff --git a/components/dom_distiller/ios/distiller_page_factory_ios.h b/components/dom_distiller/ios/distiller_page_factory_ios.h
index ae7f418d37b75e45776abe1e03163cd2763952d4..6af72b1dde76a64f05886eaf343e95bf0de91f68 100644
--- a/components/dom_distiller/ios/distiller_page_factory_ios.h
+++ b/components/dom_distiller/ios/distiller_page_factory_ios.h
@@ -5,7 +5,8 @@
#ifndef COMPONENTS_DOM_DISTILLER_IOS_DISTILLER_PAGE_FACTORY_IOS_H_
#define COMPONENTS_DOM_DISTILLER_IOS_DISTILLER_PAGE_FACTORY_IOS_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "components/dom_distiller/core/distiller_page.h"
namespace web {
@@ -24,10 +25,10 @@ class DistillerPageFactoryIOS : public DistillerPageFactory {
DistillerPageFactoryIOS(web::BrowserState* browser_state);
// Implementation of DistillerPageFactory:
- scoped_ptr<DistillerPage> CreateDistillerPage(
+ std::unique_ptr<DistillerPage> CreateDistillerPage(
const gfx::Size& view_size) const override;
- scoped_ptr<DistillerPage> CreateDistillerPageWithHandle(
- scoped_ptr<SourcePageHandle> handle) const override;
+ std::unique_ptr<DistillerPage> CreateDistillerPageWithHandle(
+ std::unique_ptr<SourcePageHandle> handle) const override;
private:
web::BrowserState* browser_state_;
« no previous file with comments | « components/dom_distiller/core/viewer_unittest.cc ('k') | components/dom_distiller/ios/distiller_page_factory_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698