| 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
|
|
|