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

Unified Diff: ios/chrome/browser/infobars/infobar_utils.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/infobars/infobar_manager_impl.mm ('k') | ios/chrome/browser/infobars/infobar_utils.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/infobars/infobar_utils.h
diff --git a/ios/chrome/browser/infobars/infobar_utils.h b/ios/chrome/browser/infobars/infobar_utils.h
index e731751e72498ce2b1f972d784f07bffe829af69..109c1f27c49e3f59a8a54a707f2c33cd0f6d69f3 100644
--- a/ios/chrome/browser/infobars/infobar_utils.h
+++ b/ios/chrome/browser/infobars/infobar_utils.h
@@ -5,7 +5,7 @@
#ifndef IOS_CHROME_BROWSER_INFOBARS_INFOBAR_UTILS_H_
#define IOS_CHROME_BROWSER_INFOBARS_INFOBAR_UTILS_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
class ConfirmInfoBarDelegate;
@@ -15,7 +15,7 @@ class InfoBar;
// Returns a confirm infobar that owns |delegate|.
// Visible for testing.
-scoped_ptr<infobars::InfoBar> CreateConfirmInfoBar(
- scoped_ptr<ConfirmInfoBarDelegate> delegate);
+std::unique_ptr<infobars::InfoBar> CreateConfirmInfoBar(
+ std::unique_ptr<ConfirmInfoBarDelegate> delegate);
#endif // IOS_CHROME_BROWSER_INFOBARS_INFOBAR_UTILS_H_
« no previous file with comments | « ios/chrome/browser/infobars/infobar_manager_impl.mm ('k') | ios/chrome/browser/infobars/infobar_utils.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698