| Index: chrome/browser/ui/webui/options/autofill_options_handler.h
|
| diff --git a/chrome/browser/ui/webui/options/autofill_options_handler.h b/chrome/browser/ui/webui/options/autofill_options_handler.h
|
| index 58d51e9e6304b928d07c90bf2d97426744df6eb3..ef00b3ec45bf4d79634e491ea5179453358b8c32 100644
|
| --- a/chrome/browser/ui/webui/options/autofill_options_handler.h
|
| +++ b/chrome/browser/ui/webui/options/autofill_options_handler.h
|
| @@ -13,8 +13,6 @@
|
| #include "base/scoped_observer.h"
|
| #include "chrome/browser/ui/webui/options/options_ui.h"
|
| #include "components/autofill/core/browser/personal_data_manager_observer.h"
|
| -#include "components/browser_sync/browser/profile_sync_service.h"
|
| -#include "components/sync_driver/sync_service_observer.h"
|
|
|
| namespace autofill {
|
| class AutofillProfile;
|
| @@ -29,8 +27,7 @@ class ListValue;
|
| namespace options {
|
|
|
| class AutofillOptionsHandler : public OptionsPageUIHandler,
|
| - public autofill::PersonalDataManagerObserver,
|
| - public sync_driver::SyncServiceObserver {
|
| + public autofill::PersonalDataManagerObserver {
|
| public:
|
| AutofillOptionsHandler();
|
| ~AutofillOptionsHandler() override;
|
| @@ -44,9 +41,6 @@ class AutofillOptionsHandler : public OptionsPageUIHandler,
|
| // PersonalDataManagerObserver implementation.
|
| void OnPersonalDataChanged() override;
|
|
|
| - // sync_driver::SyncServiceObserver implementation.
|
| - void OnStateChanged() override;
|
| -
|
| private:
|
| FRIEND_TEST_ALL_PREFIXES(AutofillOptionsHandlerTest, AddressToDictionary);
|
|
|
| @@ -112,9 +106,6 @@ class AutofillOptionsHandler : public OptionsPageUIHandler,
|
| // Unowned pointer, may not be NULL.
|
| autofill::PersonalDataManager* personal_data_;
|
|
|
| - ScopedObserver<ProfileSyncService, sync_driver::SyncServiceObserver>
|
| - observer_;
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(AutofillOptionsHandler);
|
| };
|
|
|
|
|