| 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 COMPONENTS_POLICY_CORE_COMMON_POLICY_LOADER_WIN_H_ | 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_POLICY_LOADER_WIN_H_ |
| 6 #define COMPONENTS_POLICY_CORE_COMMON_POLICY_LOADER_WIN_H_ | 6 #define COMPONENTS_POLICY_CORE_COMMON_POLICY_LOADER_WIN_H_ |
| 7 | 7 |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 #include <userenv.h> | 9 #include <userenv.h> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | |
| 12 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/macros.h" |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
| 16 #include "base/synchronization/waitable_event.h" | 16 #include "base/synchronization/waitable_event.h" |
| 17 #include "base/win/object_watcher.h" | 17 #include "base/win/object_watcher.h" |
| 18 #include "components/policy/core/common/async_policy_loader.h" | 18 #include "components/policy/core/common/async_policy_loader.h" |
| 19 #include "components/policy/core/common/policy_types.h" | 19 #include "components/policy/core/common/policy_types.h" |
| 20 #include "components/policy/policy_export.h" | 20 #include "components/policy/policy_export.h" |
| 21 | 21 |
| 22 namespace base { | 22 namespace base { |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 base::win::ObjectWatcher machine_policy_watcher_; | 119 base::win::ObjectWatcher machine_policy_watcher_; |
| 120 bool user_policy_watcher_failed_; | 120 bool user_policy_watcher_failed_; |
| 121 bool machine_policy_watcher_failed_; | 121 bool machine_policy_watcher_failed_; |
| 122 | 122 |
| 123 DISALLOW_COPY_AND_ASSIGN(PolicyLoaderWin); | 123 DISALLOW_COPY_AND_ASSIGN(PolicyLoaderWin); |
| 124 }; | 124 }; |
| 125 | 125 |
| 126 } // namespace policy | 126 } // namespace policy |
| 127 | 127 |
| 128 #endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_LOADER_WIN_H_ | 128 #endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_LOADER_WIN_H_ |
| OLD | NEW |