OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_NOTIFICATIONS_PREFS_CACHE_H_ | 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATIONS_PREFS_CACHE_H_ |
6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATIONS_PREFS_CACHE_H_ | 6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATIONS_PREFS_CACHE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <vector> | 10 #include <vector> |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 ContentSetting default_content_setting_; | 76 ContentSetting default_content_setting_; |
77 | 77 |
78 // Set to true once the initial cached settings have been completely read. | 78 // Set to true once the initial cached settings have been completely read. |
79 // Once this is done, the class can no longer be accessed on the UI thread. | 79 // Once this is done, the class can no longer be accessed on the UI thread. |
80 bool is_initialized_; | 80 bool is_initialized_; |
81 | 81 |
82 DISALLOW_COPY_AND_ASSIGN(NotificationsPrefsCache); | 82 DISALLOW_COPY_AND_ASSIGN(NotificationsPrefsCache); |
83 }; | 83 }; |
84 | 84 |
85 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATIONS_PREFS_CACHE_H_ | 85 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATIONS_PREFS_CACHE_H_ |
OLD | NEW |