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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp

Issue 1897193002: Worker: Rename worker components to clarify what they work for (part 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/core.gypi » ('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) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 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 28 matching lines...) Expand all
39 #include "bindings/core/v8/V8ObjectConstructor.h" 39 #include "bindings/core/v8/V8ObjectConstructor.h"
40 #include "bindings/core/v8/V8ScriptRunner.h" 40 #include "bindings/core/v8/V8ScriptRunner.h"
41 #include "bindings/core/v8/V8SharedWorkerGlobalScope.h" 41 #include "bindings/core/v8/V8SharedWorkerGlobalScope.h"
42 #include "bindings/core/v8/V8WorkerGlobalScope.h" 42 #include "bindings/core/v8/V8WorkerGlobalScope.h"
43 #include "bindings/core/v8/WrapperTypeInfo.h" 43 #include "bindings/core/v8/WrapperTypeInfo.h"
44 #include "core/events/ErrorEvent.h" 44 #include "core/events/ErrorEvent.h"
45 #include "core/frame/DOMTimer.h" 45 #include "core/frame/DOMTimer.h"
46 #include "core/inspector/MainThreadDebugger.h" 46 #include "core/inspector/MainThreadDebugger.h"
47 #include "core/inspector/WorkerThreadDebugger.h" 47 #include "core/inspector/WorkerThreadDebugger.h"
48 #include "core/workers/MainThreadWorkletGlobalScope.h" 48 #include "core/workers/MainThreadWorkletGlobalScope.h"
49 #include "core/workers/WorkerObjectProxy.h"
50 #include "core/workers/WorkerOrWorkletGlobalScope.h" 49 #include "core/workers/WorkerOrWorkletGlobalScope.h"
51 #include "core/workers/WorkerThread.h" 50 #include "core/workers/WorkerThread.h"
52 #include "platform/heap/ThreadState.h" 51 #include "platform/heap/ThreadState.h"
53 #include "public/platform/Platform.h" 52 #include "public/platform/Platform.h"
54 #include <v8.h> 53 #include <v8.h>
55 54
56 namespace blink { 55 namespace blink {
57 56
58 class WorkerOrWorkletScriptController::ExecutionState final { 57 class WorkerOrWorkletScriptController::ExecutionState final {
59 STACK_ALLOCATED(); 58 STACK_ALLOCATED();
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 m_executionState->m_errorEventFromImportedScript = errorEvent; 318 m_executionState->m_errorEventFromImportedScript = errorEvent;
320 exceptionState.rethrowV8Exception(V8ThrowException::createGeneralError(m_iso late, errorMessage)); 319 exceptionState.rethrowV8Exception(V8ThrowException::createGeneralError(m_iso late, errorMessage));
321 } 320 }
322 321
323 DEFINE_TRACE(WorkerOrWorkletScriptController) 322 DEFINE_TRACE(WorkerOrWorkletScriptController)
324 { 323 {
325 visitor->trace(m_globalScope); 324 visitor->trace(m_globalScope);
326 } 325 }
327 326
328 } // namespace blink 327 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698