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

Unified Diff: components/autofill/core/browser/ui/card_unmask_prompt_controller.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: components/autofill/core/browser/ui/card_unmask_prompt_controller.h
diff --git a/chrome/browser/ui/autofill/card_unmask_prompt_controller.h b/components/autofill/core/browser/ui/card_unmask_prompt_controller.h
similarity index 81%
rename from chrome/browser/ui/autofill/card_unmask_prompt_controller.h
rename to components/autofill/core/browser/ui/card_unmask_prompt_controller.h
index dc6e6fd68c14c6be7ca4a64479b0f935219ed280..0a9b1b50a6a1d2bbcf4d8d689f9e347652cae655 100644
--- a/chrome/browser/ui/autofill/card_unmask_prompt_controller.h
+++ b/components/autofill/core/browser/ui/card_unmask_prompt_controller.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_CONTROLLER_H_
-#define CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_H_
+#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_UI_CARD_UNMASK_PROMPT_CONTROLLER_H_
+#define COMPONENTS_AUTOFILL_CORE_BROWSER_UI_CARD_UNMASK_PROMPT_CONTROLLER_H_
#include "base/strings/string16.h"
@@ -11,10 +11,6 @@ namespace base {
class TimeDelta;
}
-namespace content {
-class WebContents;
-}
-
namespace autofill {
class CardUnmaskPromptController {
@@ -28,7 +24,6 @@ class CardUnmaskPromptController {
virtual void NewCardLinkClicked() = 0;
// State.
- virtual content::WebContents* GetWebContents() = 0;
virtual base::string16 GetWindowTitle() const = 0;
virtual base::string16 GetInstructionsMessage() const = 0;
virtual int GetCvcImageRid() const = 0;
@@ -45,4 +40,4 @@ class CardUnmaskPromptController {
} // namespace autofill
-#endif // CHROME_BROWSER_UI_AUTOFILL_CARD_UNMASK_PROMPT_CONTROLLER_H_
+#endif // COMPONENTS_AUTOFILL_CORE_BROWSER_UI_CARD_UNMASK_PROMPT_CONTROLLER_H_
« no previous file with comments | « components/autofill/core/browser/BUILD.gn ('k') | components/autofill/core/browser/ui/card_unmask_prompt_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698