| Index: components/autofill/core/browser/ui/card_unmask_prompt_view.h
|
| diff --git a/chrome/browser/ui/autofill/card_unmask_prompt_view.h b/components/autofill/core/browser/ui/card_unmask_prompt_view.h
|
| similarity index 75%
|
| rename from chrome/browser/ui/autofill/card_unmask_prompt_view.h
|
| rename to components/autofill/core/browser/ui/card_unmask_prompt_view.h
|
| index 5563ce44009f6b2211150c7052bdd2a06df63746..92c8ae5e10164d19b9365a2ca637ce00166c0ae7 100644
|
| --- a/chrome/browser/ui/autofill/card_unmask_prompt_view.h
|
| +++ b/components/autofill/core/browser/ui/card_unmask_prompt_view.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_H_
|
| -#define CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_H_
|
| +#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_UI_CARD_UNMASK_PROMPT_VIEW_H_
|
| +#define COMPONENTS_AUTOFILL_CORE_BROWSER_UI_CARD_UNMASK_PROMPT_VIEW_H_
|
|
|
| #include "base/strings/string16.h"
|
|
|
| @@ -16,9 +16,7 @@ class CardUnmaskPromptController;
|
| // lifetime.
|
| class CardUnmaskPromptView {
|
| public:
|
| - static CardUnmaskPromptView* CreateAndShow(
|
| - CardUnmaskPromptController* controller);
|
| -
|
| + virtual void Show() = 0;
|
| virtual void ControllerGone() = 0;
|
| virtual void DisableAndWaitForVerification() = 0;
|
| virtual void GotVerificationResult(const base::string16& error_message,
|
| @@ -34,4 +32,4 @@ class CardUnmaskPromptView {
|
|
|
| } // namespace autofill
|
|
|
| -#endif // CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_H_
|
| +#endif // COMPONENTS_AUTOFILL_CORE_BROWSER_UI_CARD_UNMASK_PROMPT_VIEW_H_
|
|
|