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

Unified Diff: ios/web/public/interstitials/web_interstitial.h

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add header 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: ios/web/public/interstitials/web_interstitial.h
diff --git a/ios/web/public/interstitials/web_interstitial.h b/ios/web/public/interstitials/web_interstitial.h
index 35ba5d945e748eebb0c8d362c40792a2646d2482..1aa22d00a1d55e2726b1797ee1d325b2a11cbe2e 100644
--- a/ios/web/public/interstitials/web_interstitial.h
+++ b/ios/web/public/interstitials/web_interstitial.h
@@ -5,7 +5,7 @@
#ifndef IOS_WEB_PUBLIC_INTERSTITIALS_WEB_INTERSTITIAL_H_
#define IOS_WEB_PUBLIC_INTERSTITIALS_WEB_INTERSTITIAL_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
class GURL;
@@ -36,12 +36,12 @@ class WebInterstitial {
WebState* web_state,
bool new_navigation,
const GURL& url,
- scoped_ptr<HtmlWebInterstitialDelegate> delegate);
+ std::unique_ptr<HtmlWebInterstitialDelegate> delegate);
static WebInterstitial* CreateNativeInterstitial(
WebState* web_state,
bool new_navigation,
const GURL& url,
- scoped_ptr<NativeWebInterstitialDelegate> delegate);
+ std::unique_ptr<NativeWebInterstitialDelegate> delegate);
// Retrieves the WebInterstitial if any associated with the specified
// |web_state|.

Powered by Google App Engine
This is Rietveld 408576698