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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_models.h

Issue 13625002: Change the behavior of the [X] Save details to Wallet checkbox notification to: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 8 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/autofill/autofill_dialog_models.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_models.h b/chrome/browser/ui/autofill/autofill_dialog_models.h
index 40841f9a0bca8a351f1138975f94e50c3b5c9fec..2020e5d5ddd4b507d63e716a4d210db8e1a298a8 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_models.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_models.h
@@ -10,7 +10,6 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
-#include "base/prefs/pref_change_registrar.h"
#include "base/string16.h"
#include "ui/base/models/combobox_model.h"
#include "ui/base/models/simple_menu_model.h"
@@ -134,21 +133,14 @@ class AccountChooserModel : public ui::SimpleMenuModel,
int checked_item() const { return checked_item_; }
- private:
- void PrefChanged(const std::string& pref);
-
- // Sets |checked_item_| from the relevant pref.
- void UpdateCheckmarkFromPref();
-
// Command IDs of the items in this menu. For now, we only support a single
// account, so there's only one wallet item.
static const int kWalletItemId;
static const int kAutofillItemId;
+ private:
AccountChooserModelDelegate* account_delegate_;
- PrefService* prefs_;
-
// The command id of the currently active item.
int checked_item_;
@@ -156,8 +148,6 @@ class AccountChooserModel : public ui::SimpleMenuModel,
// open.
bool had_wallet_error_;
- PrefChangeRegistrar pref_change_registrar_;
-
DISALLOW_COPY_AND_ASSIGN(AccountChooserModel);
};

Powered by Google App Engine
This is Rietveld 408576698