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

Side by Side Diff: components/scheduler/base/lazy_now.h

Issue 1374653003: scheduler: Add a base directory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed gn clobber build. Created 5 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_SCHEDULER_CHILD_LAZY_NOW_H_ 5 #ifndef COMPONENTS_SCHEDULER_BASE_LAZY_NOW_H_
6 #define COMPONENTS_SCHEDULER_CHILD_LAZY_NOW_H_ 6 #define COMPONENTS_SCHEDULER_BASE_LAZY_NOW_H_
7 7
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 9
10 namespace scheduler { 10 namespace scheduler {
11 class TaskQueueManager; 11 class TaskQueueManager;
12 12
13 namespace internal { 13 namespace internal {
14 14
15 // Now() is somewhat expensive so it makes sense not to call Now() unless we 15 // Now() is somewhat expensive so it makes sense not to call Now() unless we
16 // really need to. 16 // really need to.
(...skipping 10 matching lines...) Expand all
27 base::TimeTicks Now(); 27 base::TimeTicks Now();
28 28
29 private: 29 private:
30 TaskQueueManager* task_queue_manager_; // NOT OWNED 30 TaskQueueManager* task_queue_manager_; // NOT OWNED
31 base::TimeTicks now_; 31 base::TimeTicks now_;
32 }; 32 };
33 33
34 } // namespace internal 34 } // namespace internal
35 } // namespace scheduler 35 } // namespace scheduler
36 36
37 #endif // COMPONENTS_SCHEDULER_CHILD_LAZY_NOW_H_ 37 #endif // COMPONENTS_SCHEDULER_BASE_LAZY_NOW_H_
OLDNEW
« no previous file with comments | « components/scheduler/base/cancelable_closure_holder.cc ('k') | components/scheduler/base/lazy_now.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698