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

Unified Diff: components/scheduler/base/lazy_now.cc

Issue 1432263002: (reland) Adds TimeDomains to the TaskQueueManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 1 month 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
Index: components/scheduler/base/lazy_now.cc
diff --git a/components/scheduler/base/lazy_now.cc b/components/scheduler/base/lazy_now.cc
deleted file mode 100644
index c80dd472440daed23fc2b274cb11fc0859398edf..0000000000000000000000000000000000000000
--- a/components/scheduler/base/lazy_now.cc
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/scheduler/base/lazy_now.h"
-
-#include "base/time/tick_clock.h"
-#include "components/scheduler/base/task_queue_manager.h"
-
-namespace scheduler {
-namespace internal {
-
-base::TimeTicks LazyNow::Now() {
- if (now_.is_null())
- now_ = tick_clock_->NowTicks();
- return now_;
-}
-
-} // namespace internal
-} // namespace scheduler

Powered by Google App Engine
This is Rietveld 408576698