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

Side by Side Diff: chrome/browser/autofill/autocheckout_manager.h

Issue 11539003: Pop up requestAutocomplete UI when autofill server hints chrome client that it is in a multipage au… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Convert AutocheckoutManager to use WeakPtr instead of RefCounted. Created 7 years, 11 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698