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

Unified Diff: media/cast/test/fake_single_thread_task_runner.cc

Issue 161593002: Cast: an app to generate log data and do (de)serailization and (de)compression. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@encoding-event-subscriber
Patch Set: Rewrote the encode/decode logic without using internal protobuf APIs, so don't need to add protobuf… Created 6 years, 10 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/cast/cast.gyp ('k') | media/cast/test/log_encoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/test/fake_single_thread_task_runner.cc
diff --git a/media/cast/test/fake_single_thread_task_runner.cc b/media/cast/test/fake_single_thread_task_runner.cc
index d2950fd9fb6df2efe7fa9799709e4ead88ce927c..9aa2b283db1d5811bbf51c70c1138587fbe76035 100644
--- a/media/cast/test/fake_single_thread_task_runner.cc
+++ b/media/cast/test/fake_single_thread_task_runner.cc
@@ -6,7 +6,6 @@
#include "base/logging.h"
#include "base/time/tick_clock.h"
-#include "testing/gtest/include/gtest/gtest.h"
namespace media {
namespace cast {
@@ -22,7 +21,7 @@ bool FakeSingleThreadTaskRunner::PostDelayedTask(
const tracked_objects::Location& from_here,
const base::Closure& task,
base::TimeDelta delay) {
- EXPECT_GE(delay, base::TimeDelta());
+ DCHECK_GE(delay.ToInternalValue(), 0);
PostedTask posed_task(from_here,
task,
clock_->NowTicks(),
« no previous file with comments | « media/cast/cast.gyp ('k') | media/cast/test/log_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698