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

Unified Diff: webrtc/base/faketaskrunner.h

Issue 2633683002: Delete unused file faketaskrunner.h. (Closed)
Patch Set: Created 3 years, 11 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 | « webrtc/base/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/faketaskrunner.h
diff --git a/webrtc/base/faketaskrunner.h b/webrtc/base/faketaskrunner.h
deleted file mode 100644
index 88e48261b30eee34490bf183bf55bfd14ba49c09..0000000000000000000000000000000000000000
--- a/webrtc/base/faketaskrunner.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright 2011 The WebRTC Project Authors. All rights reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-// A fake TaskRunner for use in unit tests.
-
-#ifndef WEBRTC_BASE_FAKETASKRUNNER_H_
-#define WEBRTC_BASE_FAKETASKRUNNER_H_
-
-#include "webrtc/base/taskparent.h"
-#include "webrtc/base/taskrunner.h"
-
-namespace rtc {
-
-class FakeTaskRunner : public TaskRunner {
- public:
- FakeTaskRunner() : current_time_(0) {}
- virtual ~FakeTaskRunner() {}
-
- virtual void WakeTasks() { RunTasks(); }
-
- virtual int64_t CurrentTime() {
- // Implement if needed.
- return current_time_++;
- }
-
- int64_t current_time_;
-};
-
-} // namespace rtc
-
-#endif // WEBRTC_BASE_FAKETASKRUNNER_H_
« no previous file with comments | « webrtc/base/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698