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

Unified Diff: content/child/scheduler/time_source.cc

Issue 1098033002: Remove dependency on cc::TestNowSource from scheduler code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years, 8 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 | « content/child/scheduler/time_source.h ('k') | content/child/scheduler/worker_scheduler_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/scheduler/time_source.cc
diff --git a/content/common/gpu/media/vp8_picture.cc b/content/child/scheduler/time_source.cc
similarity index 55%
copy from content/common/gpu/media/vp8_picture.cc
copy to content/child/scheduler/time_source.cc
index 764c3b1bd739a88810bbcb1ca47dbafec9c036e0..ce64df85d813a9859f4232c48129acca9b4dd129 100644
--- a/content/common/gpu/media/vp8_picture.cc
+++ b/content/child/scheduler/time_source.cc
@@ -2,18 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/common/gpu/media/vp8_picture.h"
+#include "content/child/scheduler/time_source.h"
namespace content {
-VP8Picture::VP8Picture() {
+TimeSource::TimeSource() {
}
-VP8Picture::~VP8Picture() {
+TimeSource::~TimeSource() {
}
-V4L2VP8Picture* VP8Picture::AsV4L2VP8Picture() {
- return nullptr;
+base::TimeTicks TimeSource::Now() const {
+ return base::TimeTicks::Now();
}
} // namespace content
« no previous file with comments | « content/child/scheduler/time_source.h ('k') | content/child/scheduler/worker_scheduler_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698