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_POLICY_LOADER_MAC_H_ | 5 #ifndef CHROME_BROWSER_POLICY_POLICY_LOADER_MAC_H_ |
6 #define CHROME_BROWSER_POLICY_POLICY_LOADER_MAC_H_ | 6 #define CHROME_BROWSER_POLICY_POLICY_LOADER_MAC_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include <CoreFoundation/CoreFoundation.h> | 10 #include <CoreFoundation/CoreFoundation.h> |
11 | 11 |
12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
13 #include "base/files/file_path_watcher.h" | 13 #include "base/files/file_path_watcher.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "chrome/browser/policy/async_policy_loader.h" | 15 #include "components/policy/core/common/async_policy_loader.h" |
16 #include "components/policy/core/common/policy_namespace.h" | 16 #include "components/policy/core/common/policy_namespace.h" |
17 | 17 |
18 class MacPreferences; | 18 class MacPreferences; |
19 | 19 |
20 namespace base { | 20 namespace base { |
21 class SequencedTaskRunner; | 21 class SequencedTaskRunner; |
22 class Value; | 22 class Value; |
23 } // namespace base | 23 } // namespace base |
24 | 24 |
25 namespace policy { | 25 namespace policy { |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 | 73 |
74 // Watches for events on the |managed_policy_path_|. | 74 // Watches for events on the |managed_policy_path_|. |
75 base::FilePathWatcher watcher_; | 75 base::FilePathWatcher watcher_; |
76 | 76 |
77 DISALLOW_COPY_AND_ASSIGN(PolicyLoaderMac); | 77 DISALLOW_COPY_AND_ASSIGN(PolicyLoaderMac); |
78 }; | 78 }; |
79 | 79 |
80 } // namespace policy | 80 } // namespace policy |
81 | 81 |
82 #endif // CHROME_BROWSER_POLICY_POLICY_LOADER_MAC_H_ | 82 #endif // CHROME_BROWSER_POLICY_POLICY_LOADER_MAC_H_ |
OLD | NEW |