OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_CHILD_WORKER_TASK_RUNNER_H_ | 5 #ifndef CONTENT_CHILD_WORKER_TASK_RUNNER_H_ |
6 #define CONTENT_CHILD_WORKER_TASK_RUNNER_H_ | 6 #define CONTENT_CHILD_WORKER_TASK_RUNNER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 63 |
64 struct ThreadLocalState; | 64 struct ThreadLocalState; |
65 base::ThreadLocalPointer<ThreadLocalState> current_tls_; | 65 base::ThreadLocalPointer<ThreadLocalState> current_tls_; |
66 | 66 |
67 IDToTaskRunnerMap task_runner_map_; | 67 IDToTaskRunnerMap task_runner_map_; |
68 base::Lock task_runner_map_lock_; | 68 base::Lock task_runner_map_lock_; |
69 }; | 69 }; |
70 | 70 |
71 } // namespace content | 71 } // namespace content |
72 | 72 |
73 #endif // CONTENT_CHILD_WORKER_TASK_RUNNER_H_ | 73 #endif // CONTENT_CHILD_WORKER_TASK_RUNNER_H_ |
OLD | NEW |