| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 BASE_WIN_OBJECT_WATCHER_H_ | 5 #ifndef BASE_WIN_OBJECT_WATCHER_H_ |
| 6 #define BASE_WIN_OBJECT_WATCHER_H_ | 6 #define BASE_WIN_OBJECT_WATCHER_H_ |
| 7 #pragma once | |
| 8 | 7 |
| 9 #include <windows.h> | 8 #include <windows.h> |
| 10 | 9 |
| 11 #include "base/base_export.h" | 10 #include "base/base_export.h" |
| 12 #include "base/callback.h" | 11 #include "base/callback.h" |
| 13 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 14 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
| 15 | 14 |
| 16 namespace base { | 15 namespace base { |
| 17 namespace win { | 16 namespace win { |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 HANDLE wait_object_; // Returned by RegisterWaitForSingleObject | 92 HANDLE wait_object_; // Returned by RegisterWaitForSingleObject |
| 94 MessageLoop* origin_loop_; // Used to get back to the origin thread | 93 MessageLoop* origin_loop_; // Used to get back to the origin thread |
| 95 | 94 |
| 96 DISALLOW_COPY_AND_ASSIGN(ObjectWatcher); | 95 DISALLOW_COPY_AND_ASSIGN(ObjectWatcher); |
| 97 }; | 96 }; |
| 98 | 97 |
| 99 } // namespace win | 98 } // namespace win |
| 100 } // namespace base | 99 } // namespace base |
| 101 | 100 |
| 102 #endif // BASE_OBJECT_WATCHER_H_ | 101 #endif // BASE_OBJECT_WATCHER_H_ |
| OLD | NEW |