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_SUPERVISED_USER_SUPERVISED_USER_WHITELIST_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_WHITELIST_SERVICE_H_ |
6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_WHITELIST_SERVICE_H_ | 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_WHITELIST_SERVICE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
17 #include "chrome/browser/supervised_user/supervised_users.h" | 17 #include "chrome/browser/supervised_user/supervised_users.h" |
18 #include "sync/api/syncable_service.h" | 18 #include "components/sync/api/syncable_service.h" |
19 | 19 |
20 class PrefService; | 20 class PrefService; |
21 class SupervisedUserSiteList; | 21 class SupervisedUserSiteList; |
22 | 22 |
23 namespace base { | 23 namespace base { |
24 class DictionaryValue; | 24 class DictionaryValue; |
25 class FilePath; | 25 class FilePath; |
26 } | 26 } |
27 | 27 |
28 namespace component_updater { | 28 namespace component_updater { |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 std::set<std::string> registered_whitelists_; | 134 std::set<std::string> registered_whitelists_; |
135 std::map<std::string, scoped_refptr<SupervisedUserSiteList> > | 135 std::map<std::string, scoped_refptr<SupervisedUserSiteList> > |
136 loaded_whitelists_; | 136 loaded_whitelists_; |
137 | 137 |
138 base::WeakPtrFactory<SupervisedUserWhitelistService> weak_ptr_factory_; | 138 base::WeakPtrFactory<SupervisedUserWhitelistService> weak_ptr_factory_; |
139 | 139 |
140 DISALLOW_COPY_AND_ASSIGN(SupervisedUserWhitelistService); | 140 DISALLOW_COPY_AND_ASSIGN(SupervisedUserWhitelistService); |
141 }; | 141 }; |
142 | 142 |
143 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_WHITELIST_SERVICE_H_ | 143 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_WHITELIST_SERVICE_H_ |
OLD | NEW |