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

Side by Side Diff: Source/core/inspector/WorkerRuntimeAgent.cpp

Issue 14307014: Absolutify paths to workers/, workers/chromium/, xml/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: in Created 7 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #include "config.h" 31 #include "config.h"
32 32
33 #include "WorkerRuntimeAgent.h" 33 #include "WorkerRuntimeAgent.h"
34 34
35 #include "InjectedScript.h" 35 #include "InjectedScript.h"
36 #include "InstrumentingAgents.h" 36 #include "InstrumentingAgents.h"
37 #include "ScriptState.h" 37 #include "ScriptState.h"
38 #include "WorkerContext.h"
39 #include "WorkerDebuggerAgent.h" 38 #include "WorkerDebuggerAgent.h"
40 #include "WorkerRunLoop.h" 39 #include "core/workers/WorkerContext.h"
41 #include "WorkerThread.h" 40 #include "core/workers/WorkerRunLoop.h"
41 #include "core/workers/WorkerThread.h"
42 42
43 namespace WebCore { 43 namespace WebCore {
44 44
45 WorkerRuntimeAgent::WorkerRuntimeAgent(InstrumentingAgents* instrumentingAgents, InspectorCompositeState* state, InjectedScriptManager* injectedScriptManager, W orkerContext* workerContext) 45 WorkerRuntimeAgent::WorkerRuntimeAgent(InstrumentingAgents* instrumentingAgents, InspectorCompositeState* state, InjectedScriptManager* injectedScriptManager, W orkerContext* workerContext)
46 : InspectorRuntimeAgent(instrumentingAgents, state, injectedScriptManager) 46 : InspectorRuntimeAgent(instrumentingAgents, state, injectedScriptManager)
47 , m_workerContext(workerContext) 47 , m_workerContext(workerContext)
48 , m_paused(false) 48 , m_paused(false)
49 { 49 {
50 m_instrumentingAgents->setWorkerRuntimeAgent(this); 50 m_instrumentingAgents->setWorkerRuntimeAgent(this);
51 } 51 }
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 { 84 {
85 m_paused = true; 85 m_paused = true;
86 MessageQueueWaitResult result; 86 MessageQueueWaitResult result;
87 do { 87 do {
88 result = context->thread()->runLoop().runInMode(context, WorkerDebuggerA gent::debuggerTaskMode); 88 result = context->thread()->runLoop().runInMode(context, WorkerDebuggerA gent::debuggerTaskMode);
89 // Keep waiting until execution is resumed. 89 // Keep waiting until execution is resumed.
90 } while (result == MessageQueueMessageReceived && m_paused); 90 } while (result == MessageQueueMessageReceived && m_paused);
91 } 91 }
92 92
93 } // namespace WebCore 93 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/inspector/WorkerInspectorController.cpp ('k') | Source/core/loader/ThreadableLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698