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 <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/scoped_vector.h" | |
15 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
16 #include "base/time/time.h" | 15 #include "base/time/time.h" |
17 #include "chrome/browser/supervised_user/supervised_users.h" | 16 #include "chrome/browser/supervised_user/supervised_users.h" |
18 #include "sync/api/syncable_service.h" | 17 #include "sync/api/syncable_service.h" |
19 | 18 |
20 class PrefService; | 19 class PrefService; |
21 class SupervisedUserSiteList; | 20 class SupervisedUserSiteList; |
22 | 21 |
23 namespace base { | 22 namespace base { |
24 class DictionaryValue; | 23 class DictionaryValue; |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 std::set<std::string> registered_whitelists_; | 121 std::set<std::string> registered_whitelists_; |
123 std::map<std::string, scoped_refptr<SupervisedUserSiteList> > | 122 std::map<std::string, scoped_refptr<SupervisedUserSiteList> > |
124 loaded_whitelists_; | 123 loaded_whitelists_; |
125 | 124 |
126 base::WeakPtrFactory<SupervisedUserWhitelistService> weak_ptr_factory_; | 125 base::WeakPtrFactory<SupervisedUserWhitelistService> weak_ptr_factory_; |
127 | 126 |
128 DISALLOW_COPY_AND_ASSIGN(SupervisedUserWhitelistService); | 127 DISALLOW_COPY_AND_ASSIGN(SupervisedUserWhitelistService); |
129 }; | 128 }; |
130 | 129 |
131 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_WHITELIST_SERVICE_H_ | 130 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_WHITELIST_SERVICE_H_ |
OLD | NEW |