OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 24 matching lines...) Expand all Loading... |
35 #include "core/dom/MessagePort.h" | 35 #include "core/dom/MessagePort.h" |
36 #include "core/frame/UseCounter.h" | 36 #include "core/frame/UseCounter.h" |
37 #include "core/workers/WorkerReportingProxy.h" | 37 #include "core/workers/WorkerReportingProxy.h" |
38 #include "platform/Timer.h" | 38 #include "platform/Timer.h" |
39 #include "platform/heap/Handle.h" | 39 #include "platform/heap/Handle.h" |
40 #include "wtf/PassRefPtr.h" | 40 #include "wtf/PassRefPtr.h" |
41 #include <memory> | 41 #include <memory> |
42 | 42 |
43 namespace blink { | 43 namespace blink { |
44 | 44 |
45 class ConsoleMessage; | |
46 class ExecutionContext; | 45 class ExecutionContext; |
47 class InProcessWorkerMessagingProxy; | 46 class InProcessWorkerMessagingProxy; |
48 class WorkerGlobalScope; | 47 class WorkerGlobalScope; |
49 class WorkerOrWorkletGlobalScope; | 48 class WorkerOrWorkletGlobalScope; |
50 | 49 |
51 // A proxy to talk to the worker object. This object is created on the | 50 // A proxy to talk to the worker object. This object is created on the |
52 // parent context thread (i.e. usually the main thread), passed on to | 51 // parent context thread (i.e. usually the main thread), passed on to |
53 // the worker thread, and used to proxy messages to the | 52 // the worker thread, and used to proxy messages to the |
54 // InProcessWorkerMessagingProxy on the parent context thread. | 53 // InProcessWorkerMessagingProxy on the parent context thread. |
55 // | 54 // |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 // The max interval duration of the timer. This is usually kMaxIntervalInSec | 124 // The max interval duration of the timer. This is usually kMaxIntervalInSec |
126 // but made as a member variable for testing. | 125 // but made as a member variable for testing. |
127 double m_maxIntervalInSec; | 126 double m_maxIntervalInSec; |
128 | 127 |
129 CrossThreadPersistent<WorkerGlobalScope> m_workerGlobalScope; | 128 CrossThreadPersistent<WorkerGlobalScope> m_workerGlobalScope; |
130 }; | 129 }; |
131 | 130 |
132 } // namespace blink | 131 } // namespace blink |
133 | 132 |
134 #endif // InProcessWorkerObjectProxy_h | 133 #endif // InProcessWorkerObjectProxy_h |
OLD | NEW |