Index: chrome/browser/extensions/api/passwords_private/passwords_private_event_router.h |
diff --git a/chrome/browser/extensions/api/passwords_private/passwords_private_event_router.h b/chrome/browser/extensions/api/passwords_private/passwords_private_event_router.h |
index 56ff2d83e9f26eb09978dea4e627e7cfe8358712..4923470ad77bf16d0d05c66cc454132f820758e0 100644 |
--- a/chrome/browser/extensions/api/passwords_private/passwords_private_event_router.h |
+++ b/chrome/browser/extensions/api/passwords_private/passwords_private_event_router.h |
@@ -39,8 +39,9 @@ class PasswordsPrivateEventRouter : |
void OnListenerRemoved(const EventListenerInfo& details) override; |
// PasswordsPrivateDelegate::Observer overrides: |
- void OnSavedPasswordsListChanged(const std::vector<linked_ptr< |
- api::passwords_private::PasswordUiEntry>>& entries) override; |
+ void OnSavedPasswordsListChanged( |
+ const std::vector<api::passwords_private::PasswordUiEntry>& entries) |
+ override; |
void OnPasswordExceptionsListChanged( |
const std::vector<std::string>& exceptions) override; |
void OnPlaintextPasswordFetched( |
@@ -69,6 +70,9 @@ class PasswordsPrivateEventRouter : |
// Whether this class is currently listening for changes to password changes. |
bool listening_; |
+ // True if we should ignore an update from PasswordsPrivateDelegate. |
+ bool ignore_updates_; |
+ |
DISALLOW_COPY_AND_ASSIGN(PasswordsPrivateEventRouter); |
}; |