OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_CHROMEOS_POLICY_POLICY_CERT_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_POLICY_CERT_SERVICE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_POLICY_POLICY_CERT_SERVICE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_POLICY_POLICY_CERT_SERVICE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | |
12 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "chrome/browser/chromeos/policy/user_network_configuration_updater.h" | 16 #include "chrome/browser/chromeos/policy/user_network_configuration_updater.h" |
17 #include "components/keyed_service/core/keyed_service.h" | 17 #include "components/keyed_service/core/keyed_service.h" |
18 | 18 |
19 namespace user_manager { | 19 namespace user_manager { |
20 class UserManager; | 20 class UserManager; |
21 } | 21 } |
22 | 22 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 // Weak pointers to handle callbacks from PolicyCertVerifier on the IO thread. | 80 // Weak pointers to handle callbacks from PolicyCertVerifier on the IO thread. |
81 // The factory and the created WeakPtrs must only be used on the UI thread. | 81 // The factory and the created WeakPtrs must only be used on the UI thread. |
82 base::WeakPtrFactory<PolicyCertService> weak_ptr_factory_; | 82 base::WeakPtrFactory<PolicyCertService> weak_ptr_factory_; |
83 | 83 |
84 DISALLOW_COPY_AND_ASSIGN(PolicyCertService); | 84 DISALLOW_COPY_AND_ASSIGN(PolicyCertService); |
85 }; | 85 }; |
86 | 86 |
87 } // namespace policy | 87 } // namespace policy |
88 | 88 |
89 #endif // CHROME_BROWSER_CHROMEOS_POLICY_POLICY_CERT_SERVICE_H_ | 89 #endif // CHROME_BROWSER_CHROMEOS_POLICY_POLICY_CERT_SERVICE_H_ |
OLD | NEW |