Index: chrome/browser/ui/autofill/tab_autofill_manager_delegate.h |
diff --git a/chrome/browser/ui/autofill/tab_autofill_manager_delegate.h b/chrome/browser/ui/autofill/tab_autofill_manager_delegate.h |
index 568aff948de8346e10a88df20e96825bc37473ed..fa0cd4e925378015306e8b7170b3f3e6ec2d6ea9 100644 |
--- a/chrome/browser/ui/autofill/tab_autofill_manager_delegate.h |
+++ b/chrome/browser/ui/autofill/tab_autofill_manager_delegate.h |
@@ -11,24 +11,25 @@ |
#include "content/public/browser/web_contents_observer.h" |
#include "content/public/browser/web_contents_user_data.h" |
-namespace autofill { |
-class AutofillDialogControllerImpl; |
-} |
- |
namespace content { |
struct FrameNavigateParams; |
struct LoadCommittedDetails; |
class WebContents; |
} |
+namespace autofill { |
+ |
+class AutofillDialogControllerImpl; |
+ |
// Chrome implementation of AutofillManagerDelegate. |
class TabAutofillManagerDelegate |
- : public autofill::AutofillManagerDelegate, |
+ : public AutofillManagerDelegate, |
public content::WebContentsUserData<TabAutofillManagerDelegate>, |
public content::WebContentsObserver { |
public: |
virtual ~TabAutofillManagerDelegate() {} |
+ // AutofillManagerDelegate implementation. |
virtual content::BrowserContext* GetBrowserContext() const OVERRIDE; |
virtual content::BrowserContext* GetOriginalBrowserContext() const OVERRIDE; |
virtual Profile* GetOriginalProfile() const OVERRIDE; |
@@ -40,11 +41,13 @@ class TabAutofillManagerDelegate |
virtual void ShowPasswordGenerationBubble( |
const gfx::Rect& bounds, |
const content::PasswordForm& form, |
- autofill::PasswordGenerator* generator) OVERRIDE; |
+ PasswordGenerator* generator) OVERRIDE; |
virtual void ShowRequestAutocompleteDialog( |
const FormData& form, |
const GURL& source_url, |
const content::SSLStatus& ssl_status, |
+ const AutofillMetrics& metric_logger, |
+ DialogType dialog_type, |
const base::Callback<void(const FormStructure*)>& callback) OVERRIDE; |
virtual void RequestAutocompleteDialogClosed() OVERRIDE; |
@@ -61,9 +64,11 @@ class TabAutofillManagerDelegate |
void HideRequestAutocompleteDialog(); |
content::WebContents* const web_contents_; |
- autofill::AutofillDialogControllerImpl* autofill_dialog_controller_; // weak. |
+ AutofillDialogControllerImpl* autofill_dialog_controller_; // weak. |
DISALLOW_COPY_AND_ASSIGN(TabAutofillManagerDelegate); |
}; |
+} // namespace autofill |
+ |
#endif // CHROME_BROWSER_UI_AUTOFILL_TAB_AUTOFILL_MANAGER_DELEGATE_H_ |