OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FONT_FAMILY_CACHE_H_ | 5 #ifndef CHROME_BROWSER_FONT_FAMILY_CACHE_H_ |
6 #define CHROME_BROWSER_FONT_FAMILY_CACHE_H_ | 6 #define CHROME_BROWSER_FONT_FAMILY_CACHE_H_ |
7 | 7 |
8 #include "base/containers/hash_tables.h" | 8 #include "base/containers/hash_tables.h" |
9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
| 10 #include "base/macros.h" |
10 #include "base/prefs/pref_change_registrar.h" | 11 #include "base/prefs/pref_change_registrar.h" |
11 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
12 #include "base/supports_user_data.h" | 13 #include "base/supports_user_data.h" |
13 #include "content/public/browser/notification_observer.h" | 14 #include "content/public/browser/notification_observer.h" |
14 #include "content/public/browser/notification_registrar.h" | 15 #include "content/public/browser/notification_registrar.h" |
15 #include "content/public/common/web_preferences.h" | 16 #include "content/public/common/web_preferences.h" |
16 | 17 |
17 class PrefService; | 18 class PrefService; |
18 class Profile; | 19 class Profile; |
19 | 20 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 // Reacts to profile changes. | 88 // Reacts to profile changes. |
88 PrefChangeRegistrar profile_pref_registrar_; | 89 PrefChangeRegistrar profile_pref_registrar_; |
89 | 90 |
90 // Listens for profile destruction. | 91 // Listens for profile destruction. |
91 content::NotificationRegistrar notification_registrar_; | 92 content::NotificationRegistrar notification_registrar_; |
92 | 93 |
93 DISALLOW_COPY_AND_ASSIGN(FontFamilyCache); | 94 DISALLOW_COPY_AND_ASSIGN(FontFamilyCache); |
94 }; | 95 }; |
95 | 96 |
96 #endif // CHROME_BROWSER_FONT_FAMILY_CACHE_H_ | 97 #endif // CHROME_BROWSER_FONT_FAMILY_CACHE_H_ |
OLD | NEW |