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

Unified Diff: ios/chrome/browser/infobars/infobar.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
« no previous file with comments | « ios/chrome/browser/history/web_history_service_factory.cc ('k') | ios/chrome/browser/infobars/infobar.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/infobars/infobar.h
diff --git a/ios/chrome/browser/infobars/infobar.h b/ios/chrome/browser/infobars/infobar.h
index faad0a7bd61cc529f09f3faf0a7790bd7098bd42..a6cf4b1126f0c7439ea807947b932fcadd592b0f 100644
--- a/ios/chrome/browser/infobars/infobar.h
+++ b/ios/chrome/browser/infobars/infobar.h
@@ -5,6 +5,8 @@
#ifndef IOS_CHROME_BROWSER_INFOBARS_INFOBAR_H_
#define IOS_CHROME_BROWSER_INFOBARS_INFOBAR_H_
+#include <memory>
+
#include "base/mac/scoped_nsobject.h"
#include "base/macros.h"
#include "components/infobars/core/infobar.h"
@@ -19,7 +21,7 @@ class InfoBarDelegate;
// InfoBar for iOS acts as a UIViewController for InfoBarView.
class InfoBarIOS : public infobars::InfoBar, public InfoBarViewDelegate {
public:
- explicit InfoBarIOS(scoped_ptr<infobars::InfoBarDelegate> delegate);
+ explicit InfoBarIOS(std::unique_ptr<infobars::InfoBarDelegate> delegate);
~InfoBarIOS() override;
// Layouts the infobar using data from delegate and prepare it for adding to
« no previous file with comments | « ios/chrome/browser/history/web_history_service_factory.cc ('k') | ios/chrome/browser/infobars/infobar.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698