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

Side by Side Diff: remoting/host/capturer_linux.cc

Issue 5270010: Revert 67662 - FBTF: Remove unneeded headers from base/ (part 10)... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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/host/capturer.h ('k') | remoting/host/capturer_mac.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 #include "remoting/host/capturer_linux.h" 5 #include "remoting/host/capturer_linux.h"
6 6
7 #include <X11/Xlib.h> 7 #include <X11/Xlib.h>
8 #include <X11/Xutil.h> 8 #include <X11/Xutil.h>
9 #include <X11/extensions/Xdamage.h> 9 #include <X11/extensions/Xdamage.h>
10 10
11 #include <set> 11 #include <set>
12 12
13 #include "base/logging.h"
14 #include "remoting/base/types.h" 13 #include "remoting/base/types.h"
15 14
16 namespace remoting { 15 namespace remoting {
17 16
18 static int IndexOfLowestBit(unsigned int mask) { 17 static int IndexOfLowestBit(unsigned int mask) {
19 int i = 0; 18 int i = 0;
20 19
21 // Extra-special do-while premature optimization, just to make dmaclach@ 20 // Extra-special do-while premature optimization, just to make dmaclach@
22 // happy. 21 // happy.
23 do { 22 do {
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 } 338 }
340 } 339 }
341 } 340 }
342 341
343 // static 342 // static
344 Capturer* Capturer::Create(MessageLoop* message_loop) { 343 Capturer* Capturer::Create(MessageLoop* message_loop) {
345 return new CapturerLinux(message_loop); 344 return new CapturerLinux(message_loop);
346 } 345 }
347 346
348 } // namespace remoting 347 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/capturer.h ('k') | remoting/host/capturer_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698