| Index: components/autofill/core/browser/test_autofill_client.h
|
| diff --git a/components/autofill/core/browser/test_autofill_manager_delegate.h b/components/autofill/core/browser/test_autofill_client.h
|
| similarity index 75%
|
| rename from components/autofill/core/browser/test_autofill_manager_delegate.h
|
| rename to components/autofill/core/browser/test_autofill_client.h
|
| index 654e2c687d466f17af301b7a4643e24efc1a7a93..4c65d390b6b86b31fccd2610f1d55b0723a82e7d 100644
|
| --- a/components/autofill/core/browser/test_autofill_manager_delegate.h
|
| +++ b/components/autofill/core/browser/test_autofill_client.h
|
| @@ -2,27 +2,26 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_
|
| -#define COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_
|
| +#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_
|
| +#define COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_
|
|
|
| #include "base/compiler_specific.h"
|
| #include "base/i18n/rtl.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/prefs/pref_service.h"
|
| -#include "components/autofill/core/browser/autofill_manager_delegate.h"
|
| +#include "components/autofill/core/browser/autofill_client.h"
|
|
|
| namespace autofill {
|
|
|
| // This class is for easier writing of tests.
|
| -class TestAutofillManagerDelegate : public AutofillManagerDelegate {
|
| +class TestAutofillClient : public AutofillClient {
|
| public:
|
| - TestAutofillManagerDelegate();
|
| - virtual ~TestAutofillManagerDelegate();
|
| + TestAutofillClient();
|
| + virtual ~TestAutofillClient();
|
|
|
| - // AutofillManagerDelegate implementation.
|
| + // AutofillClient implementation.
|
| virtual PersonalDataManager* GetPersonalDataManager() OVERRIDE;
|
| - virtual scoped_refptr<AutofillWebDataService>
|
| - GetDatabase() OVERRIDE;
|
| + virtual scoped_refptr<AutofillWebDataService> GetDatabase() OVERRIDE;
|
| virtual PrefService* GetPrefs() OVERRIDE;
|
| virtual void HideRequestAutocompleteDialog() OVERRIDE;
|
| virtual void ShowAutofillSettings() OVERRIDE;
|
| @@ -60,9 +59,9 @@ class TestAutofillManagerDelegate : public AutofillManagerDelegate {
|
| // NULL by default.
|
| scoped_ptr<PrefService> prefs_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(TestAutofillManagerDelegate);
|
| + DISALLOW_COPY_AND_ASSIGN(TestAutofillClient);
|
| };
|
|
|
| } // namespace autofill
|
|
|
| -#endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_
|
| +#endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_
|
|
|