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

Unified Diff: remoting/protocol/fake_desktop_capturer.cc

Issue 1462063004: Move VideoFramePump to remoting/protocol (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/protocol/fake_desktop_capturer.h ('k') | remoting/protocol/video_frame_pump.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/fake_desktop_capturer.cc
diff --git a/remoting/host/fake_desktop_capturer.cc b/remoting/protocol/fake_desktop_capturer.cc
similarity index 96%
rename from remoting/host/fake_desktop_capturer.cc
rename to remoting/protocol/fake_desktop_capturer.cc
index 520d396ac2c7b9ad9479a9509aab8a4c8f6f82e2..bfa34f130368de6966965126add0f4f1e5fb1368 100644
--- a/remoting/host/fake_desktop_capturer.cc
+++ b/remoting/protocol/fake_desktop_capturer.cc
@@ -1,16 +1,16 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
+// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "remoting/host/fake_desktop_capturer.h"
+#include "remoting/protocol/fake_desktop_capturer.h"
#include "base/bind.h"
#include "base/logging.h"
-#include "base/memory/ref_counted.h"
#include "base/time/time.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_frame.h"
namespace remoting {
+namespace protocol {
// FakeDesktopCapturer generates a white picture of size kWidth x kHeight
// with a rectangle of size kBoxWidth x kBoxHeight. The rectangle moves kSpeed
@@ -150,4 +150,5 @@ void FakeDesktopCapturer::Capture(const webrtc::DesktopRegion& region) {
callback_->OnCaptureCompleted(frame.release());
}
+} // namespace protocol
} // namespace remoting
« no previous file with comments | « remoting/protocol/fake_desktop_capturer.h ('k') | remoting/protocol/video_frame_pump.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698