Index: chrome/browser/autofill/autocheckout_manager.h |
diff --git a/chrome/browser/autofill/autocheckout_manager.h b/chrome/browser/autofill/autocheckout_manager.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4a4e0a3cb26dec9f8757b6da15364120f1b18153 |
--- /dev/null |
+++ b/chrome/browser/autofill/autocheckout_manager.h |
@@ -0,0 +1,42 @@ |
+// Copyright (c) 2013 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_AUTOFILL_AUTOCHECKOUT_MANAGER_H_ |
+#define CHROME_BROWSER_AUTOFILL_AUTOCHECKOUT_MANAGER_H_ |
+ |
+#include <string> |
+ |
+#include "base/memory/weak_ptr.h" |
+ |
+class FormStructure; |
+class GURL; |
+ |
+struct FormData; |
+struct FormFieldData; |
+ |
+namespace content { |
+class WebContents; |
+struct SSLStatus; |
+} |
+ |
+class AutocheckoutManager { |
+ public: |
+ AutocheckoutManager(); |
+ |
+ void ShowAutocheckoutDialog(const GURL& frame_url, |
+ const content::SSLStatus& ssl_status, |
+ content::WebContents* web_contents); |
+ |
+ ~AutocheckoutManager(); |
Ilya Sherman
2013/01/17 23:48:12
nit: Please include a blank line after this one.
Raman Kakilate
2013/01/18 01:17:13
Done.
|
+ private: |
+ |
+ // Callback called from AutofillDialogController on filling up the UI form. |
+ void ReturnAutocheckoutData(const FormStructure* result); |
+ |
+ base::WeakPtrFactory<AutocheckoutManager> weak_ptr_factory_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(AutocheckoutManager); |
+}; |
+ |
+#endif // CHROME_BROWSER_AUTOFILL_AUTOCHECKOUT_MANAGER_H_ |