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

Side by Side Diff: content/child/scheduler/time_source.h

Issue 1098033002: Remove dependency on cc::TestNowSource from scheduler code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years, 8 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_CHILD_SCHEDULER_TIME_SOURCE_H_
6 #define CONTENT_CHILD_SCHEDULER_TIME_SOURCE_H_
7
8 #include "base/time/time.h"
9 #include "content/common/content_export.h"
10
11 namespace content {
12
13 class CONTENT_EXPORT TimeSource {
14 public:
15 TimeSource();
16 virtual ~TimeSource();
17
18 virtual base::TimeTicks Now() const;
19
20 private:
21 DISALLOW_COPY_AND_ASSIGN(TimeSource);
22 };
23
24 } // namespace content
25
26 #endif // CONTENT_CHILD_SCHEDULER_TIME_SOURCE_H_
OLDNEW
« no previous file with comments | « content/child/scheduler/task_queue_manager_unittest.cc ('k') | content/child/scheduler/time_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698