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

Side by Side Diff: ios/chrome/browser/ui/autofill/autofill_save_card_infobar.mm

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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <utility> 5 #include <utility>
6 6
7 #include "components/autofill/core/browser/autofill_save_card_infobar_delegate_m obile.h" 7 #include "components/autofill/core/browser/autofill_save_card_infobar_delegate_m obile.h"
8 #include "components/autofill/core/browser/autofill_save_card_infobar_mobile.h" 8 #include "components/autofill/core/browser/autofill_save_card_infobar_mobile.h"
9 #include "components/infobars/core/infobar.h" 9 #include "components/infobars/core/infobar.h"
10 #include "ios/chrome/browser/infobars/infobar_utils.h" 10 #include "ios/chrome/browser/infobars/infobar_utils.h"
11 11
12 namespace autofill { 12 namespace autofill {
13 13
14 scoped_ptr<infobars::InfoBar> CreateSaveCardInfoBarMobile( 14 std::unique_ptr<infobars::InfoBar> CreateSaveCardInfoBarMobile(
15 scoped_ptr<AutofillSaveCardInfoBarDelegateMobile> delegate) { 15 std::unique_ptr<AutofillSaveCardInfoBarDelegateMobile> delegate) {
16 // TODO(jdonnelly): Implement iOS save card infobar. http://crbug.com/535784 16 // TODO(jdonnelly): Implement iOS save card infobar. http://crbug.com/535784
17 return ::CreateConfirmInfoBar(std::move(delegate)); 17 return ::CreateConfirmInfoBar(std::move(delegate));
18 } 18 }
19 19
20 } // namespace autofill 20 } // namespace autofill
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/autofill/autofill_client_ios.mm ('k') | ios/chrome/browser/ui/webui/flags_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698