Index: chrome/browser/ui/autofill/instrument_unmask_prompt_view.h |
diff --git a/chrome/browser/ui/autofill/instrument_unmask_prompt_view.h b/chrome/browser/ui/autofill/instrument_unmask_prompt_view.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2a7d30a1c12e06ce3bb5a6c501891187aefb8915 |
--- /dev/null |
+++ b/chrome/browser/ui/autofill/instrument_unmask_prompt_view.h |
@@ -0,0 +1,37 @@ |
+// 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_INSTRUMENT_UNMASK_PROMPT_VIEW_H_ |
+#define CHROME_BROWSER_UI_AUTOFILL_INSTRUMENT_UNMASK_PROMPT_VIEW_H_ |
+ |
+#include "base/callback.h" |
+#include "base/memory/scoped_ptr.h" |
+#include "base/strings/string16.h" |
+ |
+namespace content { |
+class WebContents; |
+} |
+ |
+namespace autofill { |
+ |
+class InstrumentUnmaskPromptView { |
+ public: |
+ typedef base::Callback<void(const base::string16& /* CVC */)> UnmaskCallback; |
+ |
+ static scoped_ptr<InstrumentUnmaskPromptView> CreateAndShow( |
+ content::WebContents* web_contents, |
+ const UnmaskCallback& finished); |
+ |
+ virtual ~InstrumentUnmaskPromptView(); |
+ |
+ protected: |
+ InstrumentUnmaskPromptView(); |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(InstrumentUnmaskPromptView); |
+}; |
+ |
+} // namespace autofill |
+ |
+#endif // CHROME_BROWSER_UI_AUTOFILL_INSTRUMENT_UNMASK_PROMPT_VIEW_H_ |