Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: chrome/browser/ui/webui/options/autofill_options_handler.h

Issue 1578173005: Move Autofill Payments integration checkbox to the sync settings page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace bool with enum in tests Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};
« no previous file with comments | « chrome/browser/resources/options/sync_setup_overlay.js ('k') | chrome/browser/ui/webui/options/autofill_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698