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_USER_CLOUD_POLICY_STORE_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_USER_CLOUD_POLICY_STORE_CHROMEOS_H_ |
6 #define CHROME_BROWSER_POLICY_USER_CLOUD_POLICY_STORE_CHROMEOS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_POLICY_USER_CLOUD_POLICY_STORE_CHROMEOS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/file_path.h" | 12 #include "base/file_path.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "chrome/browser/policy/cloud_policy_validator.h" | 15 #include "chrome/browser/policy/cloud/cloud_policy_validator.h" |
16 #include "chrome/browser/policy/user_cloud_policy_store_base.h" | 16 #include "chrome/browser/policy/cloud/user_cloud_policy_store_base.h" |
17 | 17 |
18 namespace chromeos { | 18 namespace chromeos { |
19 class SessionManagerClient; | 19 class SessionManagerClient; |
20 } | 20 } |
21 | 21 |
22 namespace policy { | 22 namespace policy { |
23 | 23 |
24 class LegacyPolicyCacheLoader; | 24 class LegacyPolicyCacheLoader; |
25 | 25 |
26 // Implements a cloud policy store backed by the Chrome OS' session_manager, | 26 // Implements a cloud policy store backed by the Chrome OS' session_manager, |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 // the number of pre-M20 clients drops back to zero. | 92 // the number of pre-M20 clients drops back to zero. |
93 FilePath legacy_cache_dir_; | 93 FilePath legacy_cache_dir_; |
94 scoped_ptr<LegacyPolicyCacheLoader> legacy_loader_; | 94 scoped_ptr<LegacyPolicyCacheLoader> legacy_loader_; |
95 bool legacy_caches_loaded_; | 95 bool legacy_caches_loaded_; |
96 | 96 |
97 DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyStoreChromeOS); | 97 DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyStoreChromeOS); |
98 }; | 98 }; |
99 | 99 |
100 } // namespace policy | 100 } // namespace policy |
101 | 101 |
102 #endif // CHROME_BROWSER_POLICY_USER_CLOUD_POLICY_STORE_CHROMEOS_H_ | 102 #endif // CHROME_BROWSER_CHROMEOS_POLICY_USER_CLOUD_POLICY_STORE_CHROMEOS_H_ |
OLD | NEW |