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

Side by Side Diff: chrome/browser/ui/autofill/card_unmask_prompt_view_tester.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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_TESTER_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_TESTER_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_TESTER_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_TESTER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include <memory>
9 9
10 namespace content { 10 namespace content {
11 class WebContents; 11 class WebContents;
12 } 12 }
13 13
14 namespace autofill { 14 namespace autofill {
15 15
16 class CardUnmaskPromptView; 16 class CardUnmaskPromptView;
17 17
18 // Functionality that helps to test an AutofillCardUnmaskPromptView. 18 // Functionality that helps to test an AutofillCardUnmaskPromptView.
19 class CardUnmaskPromptViewTester { 19 class CardUnmaskPromptViewTester {
20 public: 20 public:
21 // Gets a AutofillCardUnmaskPromptViewTester for |view|. 21 // Gets a AutofillCardUnmaskPromptViewTester for |view|.
22 static scoped_ptr<CardUnmaskPromptViewTester> For(CardUnmaskPromptView* view); 22 static std::unique_ptr<CardUnmaskPromptViewTester> For(
23 CardUnmaskPromptView* view);
23 24
24 virtual ~CardUnmaskPromptViewTester() {} 25 virtual ~CardUnmaskPromptViewTester() {}
25 26
26 virtual void Close() = 0; 27 virtual void Close() = 0;
27 }; 28 };
28 29
29 } // namespace autofill 30 } // namespace autofill
30 31
31 #endif // CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_TESTER_H_ 32 #endif // CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_TESTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/autofill/card_unmask_prompt_view_browsertest.cc ('k') | chrome/browser/ui/autofill/chrome_autofill_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698