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

Unified Diff: ios/chrome/browser/infobars/infobar_manager_impl.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: 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: ios/chrome/browser/infobars/infobar_manager_impl.h
diff --git a/ios/chrome/browser/infobars/infobar_manager_impl.h b/ios/chrome/browser/infobars/infobar_manager_impl.h
index d1a934f2b144c23aa4ba548be3f706147e5d7c3b..648b8cb737b0fd18ef0ed9a2b91b81b0cf8040ff 100644
--- a/ios/chrome/browser/infobars/infobar_manager_impl.h
+++ b/ios/chrome/browser/infobars/infobar_manager_impl.h
@@ -5,8 +5,9 @@
#ifndef IOS_CHROME_BROWSER_INFOBARS_INFOBAR_MANAGER_IMPL_H_
#define IOS_CHROME_BROWSER_INFOBARS_INFOBAR_MANAGER_IMPL_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "components/infobars/core/infobar_manager.h"
#include "ios/web/public/web_state/web_state_observer.h"
#include "ios/web/public/web_state/web_state_user_data.h"
@@ -39,8 +40,8 @@ class InfoBarManagerImpl : public infobars::InfoBarManager,
// InfoBarManager implementation.
int GetActiveEntryID() override;
- scoped_ptr<infobars::InfoBar> CreateConfirmInfoBar(
- scoped_ptr<ConfirmInfoBarDelegate> delegate) override;
+ std::unique_ptr<infobars::InfoBar> CreateConfirmInfoBar(
+ std::unique_ptr<ConfirmInfoBarDelegate> delegate) override;
// web::WebStateObserver implementation.
void NavigationItemCommitted(
« no previous file with comments | « ios/chrome/browser/infobars/infobar_controller.mm ('k') | ios/chrome/browser/infobars/infobar_manager_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698