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

Side by Side Diff: base/task/sequenced_task_runner.h

Issue 14927008: Move sequenced_task_runner to base/task (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/single_thread_task_runner.h ('k') | base/task/sequenced_task_runner.cc » ('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_SEQUENCED_TASKRUNNER_H_ 5 #ifndef BASE_TASK_SEQUENCED_TASK_RUNNER_H_
6 #define BASE_SEQUENCED_TASKRUNNER_H_ 6 #define BASE_TASK_SEQUENCED_TASK_RUNNER_H_
7 7
8 #include "base/base_export.h" 8 #include "base/base_export.h"
9 #include "base/sequenced_task_runner_helpers.h" 9 #include "base/task/sequenced_task_runner_helpers.h"
10 #include "base/task_runner.h" 10 #include "base/task_runner.h"
11 11
12 namespace base { 12 namespace base {
13 13
14 // A SequencedTaskRunner is a subclass of TaskRunner that provides 14 // A SequencedTaskRunner is a subclass of TaskRunner that provides
15 // additional guarantees on the order that tasks are started, as well 15 // additional guarantees on the order that tasks are started, as well
16 // as guarantees on when tasks are in sequence, i.e. one task finishes 16 // as guarantees on when tasks are in sequence, i.e. one task finishes
17 // before the other one starts. 17 // before the other one starts.
18 // 18 //
19 // Summary 19 // Summary
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 void(*deleter)(const void*), 149 void(*deleter)(const void*),
150 const void* object); 150 const void* object);
151 151
152 bool ReleaseSoonInternal(const tracked_objects::Location& from_here, 152 bool ReleaseSoonInternal(const tracked_objects::Location& from_here,
153 void(*releaser)(const void*), 153 void(*releaser)(const void*),
154 const void* object); 154 const void* object);
155 }; 155 };
156 156
157 } // namespace base 157 } // namespace base
158 158
159 #endif // BASE_SEQUENCED_TASKRUNNER_H_ 159 #endif // BASE_TASK_SEQUENCED_TASK_RUNNER_H_
OLDNEW
« no previous file with comments | « base/single_thread_task_runner.h ('k') | base/task/sequenced_task_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698