OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOCHECKOUT_MANAGER_H_ | |
6 #define CHROME_BROWSER_AUTOFILL_AUTOCHECKOUT_MANAGER_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "base/memory/weak_ptr.h" | |
11 | |
12 class FormStructure; | |
13 class GURL; | |
14 | |
15 struct FormData; | |
16 struct FormFieldData; | |
17 | |
18 namespace content { | |
19 class WebContents; | |
20 struct SSLStatus; | |
21 } | |
22 | |
23 class AutocheckoutManager { | |
24 public: | |
25 AutocheckoutManager(); | |
26 | |
27 void ShowAutocheckoutDialog(const GURL& frame_url, | |
28 const content::SSLStatus& ssl_status, | |
29 content::WebContents* web_contents); | |
30 | |
31 ~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.
| |
32 private: | |
33 | |
34 // Callback called from AutofillDialogController on filling up the UI form. | |
35 void ReturnAutocheckoutData(const FormStructure* result); | |
36 | |
37 base::WeakPtrFactory<AutocheckoutManager> weak_ptr_factory_; | |
38 | |
39 DISALLOW_COPY_AND_ASSIGN(AutocheckoutManager); | |
40 }; | |
41 | |
42 #endif // CHROME_BROWSER_AUTOFILL_AUTOCHECKOUT_MANAGER_H_ | |
OLD | NEW |