| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_EXCEPTIONS_TABLE_MODEL_H_ | 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_EXCEPTIONS_TABLE_MODEL_H_ |
| 6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_EXCEPTIONS_TABLE_MODEL_H_ | 6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_EXCEPTIONS_TABLE_MODEL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "chrome/browser/notifications/desktop_notification_service.h" | 12 #include "chrome/browser/notifications/desktop_notification_service.h" |
| 13 #include "chrome/browser/remove_rows_table_model.h" | 13 #include "chrome/browser/remove_rows_table_model.h" |
| 14 #include "chrome/common/content_settings.h" | 14 #include "chrome/common/content_settings.h" |
| 15 #include "chrome/common/content_settings_types.h" | 15 #include "chrome/common/content_settings_types.h" |
| 16 | 16 |
| 17 class NotificationExceptionsTableModel : public RemoveRowsTableModel { | 17 class NotificationExceptionsTableModel : public RemoveRowsTableModel { |
| 18 public: | 18 public: |
| 19 explicit NotificationExceptionsTableModel( | 19 explicit NotificationExceptionsTableModel( |
| (...skipping 23 matching lines...) Expand all Loading... |
| 43 typedef std::vector<Entry> EntriesVector; | 43 typedef std::vector<Entry> EntriesVector; |
| 44 EntriesVector entries_; | 44 EntriesVector entries_; |
| 45 | 45 |
| 46 TableModelObserver* observer_; | 46 TableModelObserver* observer_; |
| 47 | 47 |
| 48 DISALLOW_COPY_AND_ASSIGN(NotificationExceptionsTableModel); | 48 DISALLOW_COPY_AND_ASSIGN(NotificationExceptionsTableModel); |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_EXCEPTIONS_TABLE_MODEL_H_ | 51 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_EXCEPTIONS_TABLE_MODEL_H_ |
| 52 | 52 |
| OLD | NEW |