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

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

Issue 10909143: Revert 155574 - [Chromoting] Refactoring DesktopEnvironment and moving screen/audio recorders to Cl… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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/host/session_event_executor_win.h ('k') | remoting/host/simple_host_process.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) 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/session_event_executor_win.h" 5 #include "remoting/host/session_event_executor_win.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 // one. 146 // one.
147 scoped_ptr<Desktop> input_desktop = Desktop::GetInputDesktop(); 147 scoped_ptr<Desktop> input_desktop = Desktop::GetInputDesktop();
148 if (input_desktop.get() != NULL && !desktop_.IsSame(*input_desktop)) { 148 if (input_desktop.get() != NULL && !desktop_.IsSame(*input_desktop)) {
149 // If SetThreadDesktop() fails, the thread is still assigned a desktop. 149 // If SetThreadDesktop() fails, the thread is still assigned a desktop.
150 // So we can continue capture screen bits, just from a diffected desktop. 150 // So we can continue capture screen bits, just from a diffected desktop.
151 desktop_.SetThreadDesktop(input_desktop.Pass()); 151 desktop_.SetThreadDesktop(input_desktop.Pass());
152 } 152 }
153 } 153 }
154 154
155 } // namespace remoting 155 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/session_event_executor_win.h ('k') | remoting/host/simple_host_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698