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_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_USER_CLOUD_POLICY_STORE_H_ |
6 #define CHROME_BROWSER_POLICY_USER_CLOUD_POLICY_STORE_H_ | 6 #define CHROME_BROWSER_POLICY_CLOUD_USER_CLOUD_POLICY_STORE_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/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "chrome/browser/policy/user_cloud_policy_store_base.h" | 14 #include "chrome/browser/policy/cloud/user_cloud_policy_store_base.h" |
15 | 15 |
16 class Profile; | 16 class Profile; |
17 | 17 |
18 namespace policy { | 18 namespace policy { |
19 | 19 |
20 // Implements a cloud policy store that is stored in a simple file in the user's | 20 // Implements a cloud policy store that is stored in a simple file in the user's |
21 // profile directory. This is used on (non-chromeos) platforms that do not have | 21 // profile directory. This is used on (non-chromeos) platforms that do not have |
22 // a secure storage implementation. | 22 // a secure storage implementation. |
23 class UserCloudPolicyStore : public UserCloudPolicyStoreBase { | 23 class UserCloudPolicyStore : public UserCloudPolicyStoreBase { |
24 public: | 24 public: |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 Profile* profile_; | 75 Profile* profile_; |
76 | 76 |
77 // Path to file where we store persisted policy. | 77 // Path to file where we store persisted policy. |
78 FilePath backing_file_path_; | 78 FilePath backing_file_path_; |
79 | 79 |
80 DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyStore); | 80 DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyStore); |
81 }; | 81 }; |
82 | 82 |
83 } // namespace policy | 83 } // namespace policy |
84 | 84 |
85 #endif // CHROME_BROWSER_POLICY_USER_CLOUD_POLICY_STORE_H_ | 85 #endif // CHROME_BROWSER_POLICY_CLOUD_USER_CLOUD_POLICY_STORE_H_ |
OLD | NEW |