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

Unified Diff: chrome/browser/policy/cloud_policy_refresh_scheduler_unittest.cc

Issue 10496002: Revert 140102 - Remove old PostDelayedTask interfaces that use int ms instead of TimeDelta. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 | « base/threading/worker_pool.cc ('k') | cloud_print/service/win/service_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/cloud_policy_refresh_scheduler_unittest.cc
===================================================================
--- chrome/browser/policy/cloud_policy_refresh_scheduler_unittest.cc (revision 140108)
+++ chrome/browser/policy/cloud_policy_refresh_scheduler_unittest.cc (working copy)
@@ -35,6 +35,12 @@
TestTaskRunner() {}
virtual bool RunsTasksOnCurrentThread() const OVERRIDE { return true; }
+ virtual bool PostDelayedTask(const tracked_objects::Location&,
+ const base::Closure&,
+ int64) OVERRIDE {
+ ADD_FAILURE();
+ return false;
+ }
MOCK_METHOD3(PostDelayedTask, bool(const tracked_objects::Location&,
const base::Closure&,
base::TimeDelta));
« no previous file with comments | « base/threading/worker_pool.cc ('k') | cloud_print/service/win/service_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698