Index: chrome/browser/ui/autofill/chrome_autofill_client.h |
diff --git a/chrome/browser/ui/autofill/chrome_autofill_client.h b/chrome/browser/ui/autofill/chrome_autofill_client.h |
index 09d346a81f7be91f90a6f5c6e2d2ba8f71b7d553..82b7555e557aa330b7c3246f18fc598508385cdf 100644 |
--- a/chrome/browser/ui/autofill/chrome_autofill_client.h |
+++ b/chrome/browser/ui/autofill/chrome_autofill_client.h |
@@ -8,21 +8,29 @@ |
#include "base/callback.h" |
#include "base/compiler_specific.h" |
#include "base/i18n/rtl.h" |
+#include "base/memory/scoped_ptr.h" |
#include "base/memory/weak_ptr.h" |
#include "chrome/browser/ui/zoom/zoom_observer.h" |
#include "components/autofill/core/browser/autofill_client.h" |
#include "content/public/browser/web_contents_observer.h" |
#include "content/public/browser/web_contents_user_data.h" |
+class ConfirmInfoBarDelegate; |
+ |
namespace content { |
struct FrameNavigateParams; |
struct LoadCommittedDetails; |
class WebContents; |
} |
+namespace infobars { |
+class InfoBar; |
+} |
+ |
namespace autofill { |
class AutofillDialogController; |
+class AutofillManager; |
Ilya Sherman
2014/12/03 20:00:20
nit: Alphabetize, please.
Pritam Nikam
2014/12/04 15:37:30
Done.
|
class AutofillKeystoneBridgeWrapper; |
class AutofillPopupControllerImpl; |
class CreditCardScannerController; |
@@ -46,7 +54,8 @@ class ChromeAutofillClient |
PrefService* GetPrefs() override; |
void HideRequestAutocompleteDialog() override; |
void ShowAutofillSettings() override; |
- void ConfirmSaveCreditCard(const AutofillMetrics& metric_logger, |
+ void ConfirmSaveCreditCard(AutofillManager* autofill_manager, |
+ const AutofillMetrics& metric_logger, |
const base::Closure& save_card_callback) override; |
bool HasCreditCardScanFeature() override; |
void ScanCreditCard(const CreditCardScanCallback& callback) override; |
@@ -70,6 +79,8 @@ class ChromeAutofillClient |
const std::vector<autofill::FormStructure*>& forms) override; |
void DidFillOrPreviewField(const base::string16& autofilled_value, |
const base::string16& profile_full_name) override; |
+ scoped_ptr<infobars::InfoBar> CreateInfoBar( |
+ scoped_ptr<ConfirmInfoBarDelegate> delegate) override; |
// content::WebContentsObserver implementation. |
void WebContentsDestroyed() override; |