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/files/file_path.h" | 12 #include "base/files/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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 Profile* profile_; | 72 Profile* profile_; |
73 | 73 |
74 // Path to file where we store persisted policy. | 74 // Path to file where we store persisted policy. |
75 base::FilePath backing_file_path_; | 75 base::FilePath backing_file_path_; |
76 | 76 |
77 DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyStore); | 77 DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyStore); |
78 }; | 78 }; |
79 | 79 |
80 } // namespace policy | 80 } // namespace policy |
81 | 81 |
82 #endif // CHROME_BROWSER_POLICY_USER_CLOUD_POLICY_STORE_H_ | 82 #endif // CHROME_BROWSER_POLICY_CLOUD_USER_CLOUD_POLICY_STORE_H_ |
OLD | NEW |