Popular sites on the NTP: check that experiment group StartsWith (rather than IS...
[chromium-blink-merge.git] / chrome / browser / ui / autofill / card_unmask_prompt_view_tester.h
blob3e9522ac3faf9cd1a964f717566cb9d6fbb21b7f
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_TESTER_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_TESTER_H_
8 #include "base/memory/scoped_ptr.h"
10 namespace content {
11 class WebContents;
14 namespace autofill {
16 class CardUnmaskPromptView;
18 // Functionality that helps to test an AutofillCardUnmaskPromptView.
19 class CardUnmaskPromptViewTester {
20 public:
21 // Gets a AutofillCardUnmaskPromptViewTester for |view|.
22 static scoped_ptr<CardUnmaskPromptViewTester> For(CardUnmaskPromptView* view);
24 virtual ~CardUnmaskPromptViewTester() {}
26 virtual void Close() = 0;
29 } // namespace autofill
31 #endif // CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_TESTER_H_