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

Side by Side Diff: third_party/WebKit/Source/core/workers/WorkerThread.h

Issue 1791053002: Remove unused WorkerThread::postDelayedTask(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/workers/WorkerThread.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 PassOwnPtr<CrossThreadClosure> createWorkerThreadTask(PassOwnPtr<ExecutionCo ntextTask>, bool isInstrumented); 139 PassOwnPtr<CrossThreadClosure> createWorkerThreadTask(PassOwnPtr<ExecutionCo ntextTask>, bool isInstrumented);
140 140
141 // Called on the main thread. 141 // Called on the main thread.
142 void terminateInternal(); 142 void terminateInternal();
143 143
144 // Called on the worker thread. 144 // Called on the worker thread.
145 void initialize(PassOwnPtr<WorkerThreadStartupData>); 145 void initialize(PassOwnPtr<WorkerThreadStartupData>);
146 void shutdown(); 146 void shutdown();
147 void performTask(PassOwnPtr<ExecutionContextTask>, bool isInstrumented); 147 void performTask(PassOwnPtr<ExecutionContextTask>, bool isInstrumented);
148 void performShutdownTask(); 148 void performShutdownTask();
149 void postDelayedTask(const WebTraceLocation&, PassOwnPtr<ExecutionContextTas k>, long long delayMs);
150 void runDebuggerTask(PassOwnPtr<CrossThreadClosure>); 149 void runDebuggerTask(PassOwnPtr<CrossThreadClosure>);
151 void runDebuggerTaskDontWait(); 150 void runDebuggerTaskDontWait();
152 151
153 bool m_started; 152 bool m_started;
154 bool m_terminated; 153 bool m_terminated;
155 bool m_shutdown; 154 bool m_shutdown;
156 bool m_pausedInDebugger; 155 bool m_pausedInDebugger;
157 bool m_runningDebuggerTask; 156 bool m_runningDebuggerTask;
158 bool m_shouldTerminateV8Execution; 157 bool m_shouldTerminateV8Execution;
159 OwnPtr<InspectorTaskRunner> m_inspectorTaskRunner; 158 OwnPtr<InspectorTaskRunner> m_inspectorTaskRunner;
(...skipping 13 matching lines...) Expand all
173 // Used to signal thread shutdown. 172 // Used to signal thread shutdown.
174 OwnPtr<WaitableEvent> m_shutdownEvent; 173 OwnPtr<WaitableEvent> m_shutdownEvent;
175 174
176 // Used to signal thread termination. 175 // Used to signal thread termination.
177 OwnPtr<WaitableEvent> m_terminationEvent; 176 OwnPtr<WaitableEvent> m_terminationEvent;
178 }; 177 };
179 178
180 } // namespace blink 179 } // namespace blink
181 180
182 #endif // WorkerThread_h 181 #endif // WorkerThread_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/workers/WorkerThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698