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

Unified Diff: chrome/browser/ui/android/infobars/download_overwrite_infobar.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/android/infobars/download_overwrite_infobar.h
diff --git a/chrome/browser/ui/android/infobars/download_overwrite_infobar.h b/chrome/browser/ui/android/infobars/download_overwrite_infobar.h
index fa7215a1a4acefc5c243630b05f470286a2448ae..168dbd18cd22c97c506923608f94ede3a94821c5 100644
--- a/chrome/browser/ui/android/infobars/download_overwrite_infobar.h
+++ b/chrome/browser/ui/android/infobars/download_overwrite_infobar.h
@@ -19,13 +19,15 @@ class DownloadOverwriteInfoBarDelegate;
// an existing file with a new download.
class DownloadOverwriteInfoBar : public InfoBarAndroid {
public:
- static scoped_ptr<infobars::InfoBar> CreateInfoBar(
- scoped_ptr<chrome::android::DownloadOverwriteInfoBarDelegate> delegate);
+ static std::unique_ptr<infobars::InfoBar> CreateInfoBar(
+ std::unique_ptr<chrome::android::DownloadOverwriteInfoBarDelegate>
+ delegate);
~DownloadOverwriteInfoBar() override;
private:
explicit DownloadOverwriteInfoBar(
- scoped_ptr<chrome::android::DownloadOverwriteInfoBarDelegate> delegate);
+ std::unique_ptr<chrome::android::DownloadOverwriteInfoBarDelegate>
+ delegate);
// InfoBarAndroid:
base::android::ScopedJavaLocalRef<jobject> CreateRenderInfoBar(

Powered by Google App Engine
This is Rietveld 408576698