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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 62 |
63 struct ThreadLocalState; | 63 struct ThreadLocalState; |
64 base::ThreadLocalPointer<ThreadLocalState> current_tls_; | 64 base::ThreadLocalPointer<ThreadLocalState> current_tls_; |
65 | 65 |
66 IDToTaskRunnerMap task_runner_map_; | 66 IDToTaskRunnerMap task_runner_map_; |
67 base::Lock task_runner_map_lock_; | 67 base::Lock task_runner_map_lock_; |
68 }; | 68 }; |
69 | 69 |
70 } // namespace content | 70 } // namespace content |
71 | 71 |
72 #endif // CONTENT_CHILD_WORKER_TASK_RUNNER_H_ | 72 #endif // CONTENT_CHILD_WORKER_TASK_RUNNER_H_ |
OLD | NEW |