| 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_CONFIG_DIR_POLICY_LOADER_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CONFIG_DIR_POLICY_LOADER_H_ |
| 6 #define CHROME_BROWSER_POLICY_CONFIG_DIR_POLICY_LOADER_H_ | 6 #define CHROME_BROWSER_POLICY_CONFIG_DIR_POLICY_LOADER_H_ |
| 7 | 7 |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/files/file_path_watcher.h" | 9 #include "base/files/file_path_watcher.h" |
| 10 #include "chrome/browser/policy/async_policy_loader.h" | 10 #include "chrome/browser/policy/async_policy_loader.h" |
| 11 #include "chrome/browser/policy/policy_types.h" | 11 #include "components/policy/core/common/policy_types.h" |
| 12 | 12 |
| 13 namespace base { | 13 namespace base { |
| 14 class Value; | 14 class Value; |
| 15 } | 15 } |
| 16 | 16 |
| 17 namespace policy { | 17 namespace policy { |
| 18 | 18 |
| 19 // A policy loader implementation backed by a set of files in a given | 19 // A policy loader implementation backed by a set of files in a given |
| 20 // directory. The files should contain JSON-formatted policy settings. They are | 20 // directory. The files should contain JSON-formatted policy settings. They are |
| 21 // merged together and the result is returned in a PolicyBundle. | 21 // merged together and the result is returned in a PolicyBundle. |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 // |config_dir_|. | 57 // |config_dir_|. |
| 58 base::FilePathWatcher mandatory_watcher_; | 58 base::FilePathWatcher mandatory_watcher_; |
| 59 base::FilePathWatcher recommended_watcher_; | 59 base::FilePathWatcher recommended_watcher_; |
| 60 | 60 |
| 61 DISALLOW_COPY_AND_ASSIGN(ConfigDirPolicyLoader); | 61 DISALLOW_COPY_AND_ASSIGN(ConfigDirPolicyLoader); |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace policy | 64 } // namespace policy |
| 65 | 65 |
| 66 #endif // CHROME_BROWSER_POLICY_CONFIG_DIR_POLICY_LOADER_H_ | 66 #endif // CHROME_BROWSER_POLICY_CONFIG_DIR_POLICY_LOADER_H_ |
| OLD | NEW |