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

Side by Side Diff: remoting/capturer/win/desktop.cc

Issue 11470028: Move screen capturers to remoting/capturer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/capturer/win/desktop.h ('k') | remoting/capturer/win/scoped_thread_desktop.h » ('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) 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 "remoting/host/win/desktop.h" 5 #include "remoting/capturer/win/desktop.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 10
11 namespace remoting { 11 namespace remoting {
12 12
13 Desktop::Desktop(HDESK desktop, bool own) : desktop_(desktop), own_(own) { 13 Desktop::Desktop(HDESK desktop, bool own) : desktop_(desktop), own_(own) {
14 } 14 }
15 15
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 LOG_GETLASTERROR(ERROR) 95 LOG_GETLASTERROR(ERROR)
96 << "Failed to retrieve the handle of the desktop assigned to " 96 << "Failed to retrieve the handle of the desktop assigned to "
97 "the current thread"; 97 "the current thread";
98 return scoped_ptr<Desktop>(); 98 return scoped_ptr<Desktop>();
99 } 99 }
100 100
101 return scoped_ptr<Desktop>(new Desktop(desktop, false)); 101 return scoped_ptr<Desktop>(new Desktop(desktop, false));
102 } 102 }
103 103
104 } // namespace remoting 104 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/capturer/win/desktop.h ('k') | remoting/capturer/win/scoped_thread_desktop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698