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

Unified Diff: chrome/browser/ui/autofill/card_unmask_prompt_view.h

Issue 1138653003: Move card unmask interfaces and controller into the autofill component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix missing override declaration Created 5 years, 7 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/autofill/card_unmask_prompt_view.h
diff --git a/chrome/browser/ui/autofill/card_unmask_prompt_view.h b/chrome/browser/ui/autofill/card_unmask_prompt_view.h
deleted file mode 100644
index 5563ce44009f6b2211150c7052bdd2a06df63746..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/autofill/card_unmask_prompt_view.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// 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_
-
-#include "base/strings/string16.h"
-
-namespace autofill {
-
-class CardUnmaskPromptController;
-
-// The cross-platform UI interface which prompts the user to unlock a masked
-// Wallet instrument (credit card). This object is responsible for its own
-// lifetime.
-class CardUnmaskPromptView {
- public:
- static CardUnmaskPromptView* CreateAndShow(
- CardUnmaskPromptController* controller);
-
- virtual void ControllerGone() = 0;
- virtual void DisableAndWaitForVerification() = 0;
- virtual void GotVerificationResult(const base::string16& error_message,
- bool allow_retry) = 0;
-
- protected:
- CardUnmaskPromptView() {}
- virtual ~CardUnmaskPromptView() {}
-
- private:
- DISALLOW_COPY_AND_ASSIGN(CardUnmaskPromptView);
-};
-
-} // namespace autofill
-
-#endif // CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_H_

Powered by Google App Engine
This is Rietveld 408576698