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

Unified Diff: remoting/protocol/video_frame_pump.h

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.cc ('k') | remoting/protocol/video_frame_pump.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/video_frame_pump.h
diff --git a/remoting/host/video_frame_pump.h b/remoting/protocol/video_frame_pump.h
similarity index 97%
rename from remoting/host/video_frame_pump.h
rename to remoting/protocol/video_frame_pump.h
index f4542cafc0939da6f347c4738509092c15db432e..1974ec61b2e30ee0fafec471c99a7e2a7b95ade6 100644
--- a/remoting/host/video_frame_pump.h
+++ b/remoting/protocol/video_frame_pump.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef REMOTING_HOST_VIDEO_FRAME_PUMP_H_
-#define REMOTING_HOST_VIDEO_FRAME_PUMP_H_
+#ifndef REMOTING_PROTOCOL_VIDEO_FRAME_PUMP_H_
+#define REMOTING_PROTOCOL_VIDEO_FRAME_PUMP_H_
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
@@ -13,8 +13,8 @@
#include "base/time/time.h"
#include "base/timer/timer.h"
#include "remoting/codec/video_encoder.h"
-#include "remoting/host/capture_scheduler.h"
#include "remoting/proto/video.pb.h"
+#include "remoting/protocol/capture_scheduler.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h"
namespace base {
@@ -22,11 +22,10 @@ class SingleThreadTaskRunner;
} // namespace base
namespace remoting {
-
namespace protocol {
+
class VideoFeedbackStub;
class VideoStub;
-} // namespace protocol
// Class responsible for scheduling frame captures from a screen capturer.,
// delivering them to a VideoEncoder to encode, and
@@ -192,6 +191,7 @@ class VideoFramePump : public webrtc::DesktopCapturer::Callback {
DISALLOW_COPY_AND_ASSIGN(VideoFramePump);
};
+} // namespace protocol
} // namespace remoting
-#endif // REMOTING_HOST_VIDEO_FRAME_PUMP_H_
+#endif // REMOTING_PROTOCOL_VIDEO_FRAME_PUMP_H_
« no previous file with comments | « remoting/protocol/fake_desktop_capturer.cc ('k') | remoting/protocol/video_frame_pump.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698