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 #include "base/win/object_watcher.h" | 5 #include "base/win/object_watcher.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/win/windows_version.h" | |
forshaw
2015/02/23 13:32:28
Unused include, removing doesn't affect the build.
Shrikant Kelkar
2015/02/23 17:54:01
Done.
| |
9 | 10 |
10 namespace base { | 11 namespace base { |
11 namespace win { | 12 namespace win { |
12 | 13 |
13 //----------------------------------------------------------------------------- | 14 //----------------------------------------------------------------------------- |
14 | 15 |
15 ObjectWatcher::ObjectWatcher() | 16 ObjectWatcher::ObjectWatcher() |
16 : object_(NULL), | 17 : object_(NULL), |
17 wait_object_(NULL), | 18 wait_object_(NULL), |
18 origin_loop_(NULL), | 19 origin_loop_(NULL), |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
102 } | 103 } |
103 | 104 |
104 void ObjectWatcher::WillDestroyCurrentMessageLoop() { | 105 void ObjectWatcher::WillDestroyCurrentMessageLoop() { |
105 // Need to shutdown the watch so that we don't try to access the MessageLoop | 106 // Need to shutdown the watch so that we don't try to access the MessageLoop |
106 // after this point. | 107 // after this point. |
107 StopWatching(); | 108 StopWatching(); |
108 } | 109 } |
109 | 110 |
110 } // namespace win | 111 } // namespace win |
111 } // namespace base | 112 } // namespace base |
OLD | NEW |