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

Unified Diff: remoting/protocol/capture_scheduler.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/capture_scheduler.h ('k') | remoting/protocol/capture_scheduler_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/capture_scheduler.cc
diff --git a/remoting/host/capture_scheduler.cc b/remoting/protocol/capture_scheduler.cc
similarity index 97%
rename from remoting/host/capture_scheduler.cc
rename to remoting/protocol/capture_scheduler.cc
index 556c20763c6e54534cb27dabdc4ab173970b8c7d..1e8f73a1bac74e348edff2375d52fe02b934ec6f 100644
--- a/remoting/host/capture_scheduler.cc
+++ b/remoting/protocol/capture_scheduler.cc
@@ -1,8 +1,8 @@
-// Copyright (c) 2011 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/capture_scheduler.h"
+#include "remoting/protocol/capture_scheduler.h"
#include <algorithm>
@@ -39,6 +39,7 @@ static const int kMaxUnacknowledgedFrames = 4;
} // namespace
namespace remoting {
+namespace protocol {
// We assume that the number of available cores is constant.
CaptureScheduler::CaptureScheduler(const base::Closure& capture_closure)
@@ -178,4 +179,5 @@ void CaptureScheduler::CaptureNextFrame() {
capture_closure_.Run();
}
+} // namespace protocol
} // namespace remoting
« no previous file with comments | « remoting/protocol/capture_scheduler.h ('k') | remoting/protocol/capture_scheduler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698