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

Unified Diff: media/base/fake_single_thread_task_runner.cc

Issue 1829163002: Lazily prune the multibuffer block cache. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no export Created 4 years, 9 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 | « media/base/fake_single_thread_task_runner.h ('k') | media/blink/multibuffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/fake_single_thread_task_runner.cc
diff --git a/media/cast/test/fake_single_thread_task_runner.cc b/media/base/fake_single_thread_task_runner.cc
similarity index 94%
rename from media/cast/test/fake_single_thread_task_runner.cc
rename to media/base/fake_single_thread_task_runner.cc
index f587d7afdd67593eec588fcce9b7150184ee8fd1..77f1f73d3a4ef60c0931f4f548a2e2df8264ef22 100644
--- a/media/cast/test/fake_single_thread_task_runner.cc
+++ b/media/base/fake_single_thread_task_runner.cc
@@ -2,20 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "media/cast/test/fake_single_thread_task_runner.h"
+#include "media/base/fake_single_thread_task_runner.h"
#include "base/location.h"
#include "base/logging.h"
#include "base/time/tick_clock.h"
namespace media {
-namespace cast {
-namespace test {
FakeSingleThreadTaskRunner::FakeSingleThreadTaskRunner(
base::SimpleTestTickClock* clock)
- : clock_(clock),
- fail_on_next_task_(false) {}
+ : clock_(clock), fail_on_next_task_(false) {}
FakeSingleThreadTaskRunner::~FakeSingleThreadTaskRunner() {}
@@ -113,6 +110,4 @@ bool FakeSingleThreadTaskRunner::PostNonNestableDelayedTask(
return false;
}
-} // namespace test
-} // namespace cast
} // namespace media
« no previous file with comments | « media/base/fake_single_thread_task_runner.h ('k') | media/blink/multibuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698