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

Unified Diff: chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h

Issue 1865213004: Convert //chrome/browser/ui 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: chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h
diff --git a/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h b/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h
index cad0325b17b1bc8af2bcf22e2c17ccddbe22a53d..3f61521f0ae42a240c006329ddcfb86478e09366 100644
--- a/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h
+++ b/chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h
@@ -7,8 +7,9 @@
#include <stddef.h>
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "components/infobars/core/infobar_delegate.h"
#include "components/omnibox/browser/autocomplete_match.h"
@@ -41,8 +42,8 @@ class AlternateNavInfoBarDelegate : public infobars::InfoBarDelegate {
const GURL& search_url);
// Returns an alternate nav infobar that owns |delegate|.
- static scoped_ptr<infobars::InfoBar> CreateInfoBar(
- scoped_ptr<AlternateNavInfoBarDelegate> delegate);
+ static std::unique_ptr<infobars::InfoBar> CreateInfoBar(
+ std::unique_ptr<AlternateNavInfoBarDelegate> delegate);
// InfoBarDelegate:
Type GetInfoBarType() const override;
« no previous file with comments | « chrome/browser/ui/navigation_correction_tab_observer.h ('k') | chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698