| Index: chrome/browser/views/password_manager_exceptions_view.h
|
| diff --git a/chrome/browser/views/password_manager_exceptions_view.h b/chrome/browser/views/password_manager_exceptions_view.h
|
| index 1ae684c8f1922322f8ff44c73f5bddc1f5471913..0151a5b6dfadbf9cf7bcac5da8cf1a64d72f8f46 100644
|
| --- a/chrome/browser/views/password_manager_exceptions_view.h
|
| +++ b/chrome/browser/views/password_manager_exceptions_view.h
|
| @@ -38,7 +38,8 @@ class PasswordManagerExceptionsTableModel : public PasswordManagerTableModel {
|
| class PasswordManagerExceptionsView : public views::View,
|
| public views::DialogDelegate,
|
| public views::TableViewObserver,
|
| - public views::NativeButton::Listener {
|
| + public views::NativeButton::Listener,
|
| + public PasswordManagerTableModelObserver {
|
| public:
|
| explicit PasswordManagerExceptionsView(Profile* profile);
|
| virtual ~PasswordManagerExceptionsView();
|
| @@ -68,6 +69,9 @@ class PasswordManagerExceptionsView : public views::View,
|
| virtual void WindowClosing();
|
| virtual views::View* GetContentsView();
|
|
|
| + // PasswordManagerTableModelObserver implementation.
|
| + virtual void OnRowCountChanged(size_t rows);
|
| +
|
| private:
|
| // Wire up buttons, the model, and the table view, and query the DB for
|
| // exception data tied to the given profile.
|
| @@ -87,6 +91,8 @@ class PasswordManagerExceptionsView : public views::View,
|
| views::NativeButton remove_button_;
|
| views::NativeButton remove_all_button_;
|
|
|
| + static PasswordManagerExceptionsView* instance_;
|
| +
|
| DISALLOW_EVIL_CONSTRUCTORS(PasswordManagerExceptionsView);
|
| };
|
| #endif // CHROME_BROWSER_PASSWORD_MANAGER_EXCEPTIONS_VIEW_H__
|
|
|