Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: remoting/host/capturer.h

Issue 6142009: Upating the app, ceee, chrome, ipc, media, and net directories to use the correct lock.h file. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Unified patch updating all references to the new base/synchronization/lock.h Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/base/tracer.h ('k') | remoting/host/capturer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/synchronization/lock.h"
11 #include "base/task.h" 11 #include "base/task.h"
12 #include "remoting/base/capture_data.h" 12 #include "remoting/base/capture_data.h"
13 #include "remoting/base/types.h" 13 #include "remoting/base/types.h"
14 14
15 class MessageLoop; 15 class MessageLoop;
16 16
17 namespace remoting { 17 namespace remoting {
18 18
19 // A class to perform the task of capturing the image of a window. 19 // A class to perform the task of capturing the image of a window.
20 // The capture action is asynchronous to allow maximum throughput. 20 // The capture action is asynchronous to allow maximum throughput.
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // Message loop that operations should run on. 131 // Message loop that operations should run on.
132 MessageLoop* message_loop_; 132 MessageLoop* message_loop_;
133 133
134 private: 134 private:
135 // Rects that have been manually invalidated (through InvalidateRect). 135 // Rects that have been manually invalidated (through InvalidateRect).
136 // These will be returned as dirty_rects in the capture data during the next 136 // These will be returned as dirty_rects in the capture data during the next
137 // capture. 137 // capture.
138 InvalidRects inval_rects_; 138 InvalidRects inval_rects_;
139 139
140 // A lock protecting |inval_rects_| across threads. 140 // A lock protecting |inval_rects_| across threads.
141 Lock inval_rects_lock_; 141 base::Lock inval_rects_lock_;
142 }; 142 };
143 143
144 } // namespace remoting 144 } // namespace remoting
145 145
146 #endif // REMOTING_HOST_CAPTURER_H_ 146 #endif // REMOTING_HOST_CAPTURER_H_
OLDNEW
« no previous file with comments | « remoting/base/tracer.h ('k') | remoting/host/capturer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698