OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #include "modules/time_zone_monitor/TimeZoneMonitorClient.h" | 5 #include "modules/time_zone_monitor/TimeZoneMonitorClient.h" |
6 | 6 |
7 #include "bindings/core/v8/V8BindingForCore.h" | 7 #include "bindings/core/v8/V8BindingForCore.h" |
8 #include "bindings/core/v8/V8PerIsolateData.h" | |
9 #include "core/dom/ExecutionContext.h" | 8 #include "core/dom/ExecutionContext.h" |
10 #include "core/dom/TaskRunnerHelper.h" | 9 #include "core/dom/TaskRunnerHelper.h" |
11 #include "core/workers/WorkerBackingThread.h" | 10 #include "core/workers/WorkerBackingThread.h" |
12 #include "core/workers/WorkerOrWorkletGlobalScope.h" | 11 #include "core/workers/WorkerOrWorkletGlobalScope.h" |
13 #include "core/workers/WorkerThread.h" | 12 #include "core/workers/WorkerThread.h" |
14 #include "platform/CrossThreadFunctional.h" | 13 #include "platform/CrossThreadFunctional.h" |
| 14 #include "platform/bindings/V8PerIsolateData.h" |
15 #include "public/platform/Platform.h" | 15 #include "public/platform/Platform.h" |
16 #include "services/device/public/interfaces/constants.mojom-blink.h" | 16 #include "services/device/public/interfaces/constants.mojom-blink.h" |
17 #include "services/service_manager/public/cpp/connector.h" | 17 #include "services/service_manager/public/cpp/connector.h" |
18 #include "third_party/icu/source/i18n/unicode/timezone.h" | 18 #include "third_party/icu/source/i18n/unicode/timezone.h" |
19 #include "v8/include/v8.h" | 19 #include "v8/include/v8.h" |
20 | 20 |
21 namespace blink { | 21 namespace blink { |
22 | 22 |
23 namespace { | 23 namespace { |
24 | 24 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 continue; | 73 continue; |
74 TaskRunnerHelper::Get(TaskType::kUnspecedTimer, thread) | 74 TaskRunnerHelper::Get(TaskType::kUnspecedTimer, thread) |
75 ->PostTask(BLINK_FROM_HERE, | 75 ->PostTask(BLINK_FROM_HERE, |
76 CrossThreadBind(&NotifyTimezoneChangeOnWorkerThread, | 76 CrossThreadBind(&NotifyTimezoneChangeOnWorkerThread, |
77 WTF::CrossThreadUnretained(thread))); | 77 WTF::CrossThreadUnretained(thread))); |
78 posted.insert(&thread->GetWorkerBackingThread()); | 78 posted.insert(&thread->GetWorkerBackingThread()); |
79 } | 79 } |
80 } | 80 } |
81 | 81 |
82 } // namespace blink | 82 } // namespace blink |
OLD | NEW |