| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 REMOTING_HOST_CAPTURER_H_ | 5 #ifndef REMOTING_HOST_CAPTURER_H_ |
| 6 #define REMOTING_HOST_CAPTURER_H_ | 6 #define REMOTING_HOST_CAPTURER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/lock.h" | 10 #include "base/lock.h" |
| 11 #include "base/task.h" | |
| 12 #include "remoting/base/capture_data.h" | 11 #include "remoting/base/capture_data.h" |
| 13 #include "remoting/base/types.h" | 12 #include "remoting/base/types.h" |
| 14 | 13 |
| 15 class MessageLoop; | 14 class MessageLoop; |
| 16 | 15 |
| 17 namespace remoting { | 16 namespace remoting { |
| 18 | 17 |
| 19 // A class to perform the task of capturing the image of a window. | 18 // A class to perform the task of capturing the image of a window. |
| 20 // The capture action is asynchronous to allow maximum throughput. | 19 // The capture action is asynchronous to allow maximum throughput. |
| 21 // | 20 // |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 // capture. | 132 // capture. |
| 134 InvalidRects inval_rects_; | 133 InvalidRects inval_rects_; |
| 135 | 134 |
| 136 // A lock protecting |inval_rects_| across threads. | 135 // A lock protecting |inval_rects_| across threads. |
| 137 Lock inval_rects_lock_; | 136 Lock inval_rects_lock_; |
| 138 }; | 137 }; |
| 139 | 138 |
| 140 } // namespace remoting | 139 } // namespace remoting |
| 141 | 140 |
| 142 #endif // REMOTING_HOST_CAPTURER_H_ | 141 #endif // REMOTING_HOST_CAPTURER_H_ |
| OLD | NEW |