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

Unified Diff: remoting/host/video_frame_capturer_win.cc

Issue 10832068: Moving Windows-only files: remoting/host -> remoting/host/win. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/verify_config_window_win.cc ('k') | remoting/host/win/desktop.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/video_frame_capturer_win.cc
===================================================================
--- remoting/host/video_frame_capturer_win.cc (revision 149037)
+++ remoting/host/video_frame_capturer_win.cc (working copy)
@@ -14,10 +14,10 @@
#include "base/win/scoped_gdi_object.h"
#include "base/win/scoped_hdc.h"
#include "remoting/base/capture_data.h"
-#include "remoting/host/desktop_win.h"
#include "remoting/host/differ.h"
-#include "remoting/host/scoped_thread_desktop_win.h"
#include "remoting/host/video_frame_capturer_helper.h"
+#include "remoting/host/win/desktop.h"
+#include "remoting/host/win/scoped_thread_desktop.h"
#include "remoting/proto/control.pb.h"
namespace remoting {
@@ -105,7 +105,7 @@
static const int kNumBuffers = 2;
VideoFrameBuffer buffers_[kNumBuffers];
- ScopedThreadDesktopWin desktop_;
+ ScopedThreadDesktop desktop_;
// GDI resources used for screen capture.
scoped_ptr<base::win::ScopedGetDC> desktop_dc_;
@@ -216,7 +216,7 @@
void VideoFrameCapturerWin::PrepareCaptureResources() {
// Switch to the desktop receiving user input if different from the current
// one.
- scoped_ptr<DesktopWin> input_desktop = DesktopWin::GetInputDesktop();
+ scoped_ptr<Desktop> input_desktop = Desktop::GetInputDesktop();
if (input_desktop.get() != NULL && !desktop_.IsSame(*input_desktop)) {
// Release GDI resources otherwise SetThreadDesktop will fail.
desktop_dc_.reset();
« no previous file with comments | « remoting/host/verify_config_window_win.cc ('k') | remoting/host/win/desktop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698