| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_POLICY_ASYNC_POLICY_LOADER_H_ | 5 #ifndef CHROME_BROWSER_POLICY_ASYNC_POLICY_LOADER_H_ |
| 6 #define CHROME_BROWSER_POLICY_ASYNC_POLICY_LOADER_H_ | 6 #define CHROME_BROWSER_POLICY_ASYNC_POLICY_LOADER_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 13 #include "chrome/browser/policy/schema_map.h" | 13 #include "components/policy/core/common/schema_map.h" |
| 14 | 14 |
| 15 namespace base { | 15 namespace base { |
| 16 class SequencedTaskRunner; | 16 class SequencedTaskRunner; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace policy { | 19 namespace policy { |
| 20 | 20 |
| 21 class PolicyBundle; | 21 class PolicyBundle; |
| 22 | 22 |
| 23 // Base implementation for platform-specific policy loaders. Together with the | 23 // Base implementation for platform-specific policy loaders. Together with the |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 | 112 |
| 113 // The current policy schemas that this provider should load. | 113 // The current policy schemas that this provider should load. |
| 114 scoped_refptr<SchemaMap> schema_map_; | 114 scoped_refptr<SchemaMap> schema_map_; |
| 115 | 115 |
| 116 DISALLOW_COPY_AND_ASSIGN(AsyncPolicyLoader); | 116 DISALLOW_COPY_AND_ASSIGN(AsyncPolicyLoader); |
| 117 }; | 117 }; |
| 118 | 118 |
| 119 } // namespace policy | 119 } // namespace policy |
| 120 | 120 |
| 121 #endif // CHROME_BROWSER_POLICY_ASYNC_POLICY_LOADER_H_ | 121 #endif // CHROME_BROWSER_POLICY_ASYNC_POLICY_LOADER_H_ |
| OLD | NEW |