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

Side by Side Diff: base/task_runner.h

Issue 18119002: Use a direct include of time headers in base/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win fix Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « base/system_monitor/system_monitor.cc ('k') | base/test/mock_time_provider.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 BASE_TASK_RUNNER_H_ 5 #ifndef BASE_TASK_RUNNER_H_
6 #define BASE_TASK_RUNNER_H_ 6 #define BASE_TASK_RUNNER_H_
7 7
8 #include "base/base_export.h" 8 #include "base/base_export.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/time.h" 12 #include "base/time/time.h"
13 13
14 namespace tracked_objects { 14 namespace tracked_objects {
15 class Location; 15 class Location;
16 } // namespace tracked_objects 16 } // namespace tracked_objects
17 17
18 namespace base { 18 namespace base {
19 19
20 struct TaskRunnerTraits; 20 struct TaskRunnerTraits;
21 21
22 // A TaskRunner is an object that runs posted tasks (in the form of 22 // A TaskRunner is an object that runs posted tasks (in the form of
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 virtual void OnDestruct() const; 144 virtual void OnDestruct() const;
145 }; 145 };
146 146
147 struct BASE_EXPORT TaskRunnerTraits { 147 struct BASE_EXPORT TaskRunnerTraits {
148 static void Destruct(const TaskRunner* task_runner); 148 static void Destruct(const TaskRunner* task_runner);
149 }; 149 };
150 150
151 } // namespace base 151 } // namespace base
152 152
153 #endif // BASE_TASK_RUNNER_H_ 153 #endif // BASE_TASK_RUNNER_H_
OLDNEW
« no previous file with comments | « base/system_monitor/system_monitor.cc ('k') | base/test/mock_time_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698