| 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_GEOLOCATION_GEOLOCATION_EXCEPTIONS_TABLE_MODEL_H_ | 5 #ifndef CHROME_BROWSER_GEOLOCATION_GEOLOCATION_EXCEPTIONS_TABLE_MODEL_H_ |
| 6 #define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_EXCEPTIONS_TABLE_MODEL_H_ | 6 #define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_EXCEPTIONS_TABLE_MODEL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | |
| 10 #include <vector> | 9 #include <vector> |
| 11 | 10 |
| 12 #include "chrome/browser/geolocation/geolocation_content_settings_map.h" | 11 #include "chrome/browser/geolocation/geolocation_content_settings_map.h" |
| 13 #include "chrome/browser/remove_rows_table_model.h" | 12 #include "chrome/browser/remove_rows_table_model.h" |
| 14 #include "chrome/common/content_settings.h" | 13 #include "chrome/common/content_settings.h" |
| 15 #include "chrome/common/content_settings_types.h" | 14 #include "chrome/common/content_settings_types.h" |
| 16 | 15 |
| 17 class GeolocationExceptionsTableModel : public RemoveRowsTableModel { | 16 class GeolocationExceptionsTableModel : public RemoveRowsTableModel { |
| 18 public: | 17 public: |
| 19 explicit GeolocationExceptionsTableModel( | 18 explicit GeolocationExceptionsTableModel( |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 60 |
| 62 typedef std::vector<Entry> EntriesVector; | 61 typedef std::vector<Entry> EntriesVector; |
| 63 EntriesVector entries_; | 62 EntriesVector entries_; |
| 64 | 63 |
| 65 TableModelObserver* observer_; | 64 TableModelObserver* observer_; |
| 66 | 65 |
| 67 DISALLOW_COPY_AND_ASSIGN(GeolocationExceptionsTableModel); | 66 DISALLOW_COPY_AND_ASSIGN(GeolocationExceptionsTableModel); |
| 68 }; | 67 }; |
| 69 | 68 |
| 70 #endif // CHROME_BROWSER_GEOLOCATION_GEOLOCATION_EXCEPTIONS_TABLE_MODEL_H_ | 69 #endif // CHROME_BROWSER_GEOLOCATION_GEOLOCATION_EXCEPTIONS_TABLE_MODEL_H_ |
| OLD | NEW |