diff options
Diffstat (limited to 'chrome/browser/autofill/autofill_external_delegate_browsertest.cc')
-rw-r--r-- | chrome/browser/autofill/autofill_external_delegate_browsertest.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/autofill/autofill_external_delegate_browsertest.cc b/chrome/browser/autofill/autofill_external_delegate_browsertest.cc index c7ed801..b04ec0f 100644 --- a/chrome/browser/autofill/autofill_external_delegate_browsertest.cc +++ b/chrome/browser/autofill/autofill_external_delegate_browsertest.cc @@ -28,6 +28,9 @@ namespace { class MockAutofillManagerDelegate : public autofill::TestAutofillManagerDelegate { public: + MockAutofillManagerDelegate() {} + virtual ~MockAutofillManagerDelegate() {} + virtual PrefService* GetPrefs() { return &prefs_; } PrefRegistrySyncable* GetPrefRegistry() { @@ -46,6 +49,8 @@ class MockAutofillManagerDelegate private: TestingPrefServiceSyncable prefs_; + + DISALLOW_COPY_AND_ASSIGN(MockAutofillManagerDelegate); }; // Subclass AutofillManager so we can create AutofillManager instance. @@ -60,6 +65,8 @@ class TestAutofillManager : public AutofillManager { DISALLOW_COPY_AND_ASSIGN(TestAutofillManager); }; +// Subclass AutofillExternalDelegate so we can create an +// AutofillExternalDelegate instance. class TestAutofillExternalDelegate : public AutofillExternalDelegate { public: TestAutofillExternalDelegate(content::WebContents* web_contents, |