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

Side by Side Diff: Source/core/workers/WorkerInspectorProxy.h

Issue 1303153005: Introduce WebTaskRunner Patch 3/5 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add missing #include Created 5 years, 3 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 | « Source/core/loader/ImageLoader.cpp ('k') | Source/core/workers/WorkerInspectorProxy.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef WorkerInspectorProxy_h 5 #ifndef WorkerInspectorProxy_h
6 #define WorkerInspectorProxy_h 6 #define WorkerInspectorProxy_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "public/platform/WebThread.h" 10 #include "public/platform/WebTaskRunner.h"
11 #include "wtf/Forward.h" 11 #include "wtf/Forward.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class ExecutionContext; 15 class ExecutionContext;
16 class KURL; 16 class KURL;
17 class WebTraceLocation; 17 class WebTraceLocation;
18 class WorkerGlobalScopeProxy; 18 class WorkerGlobalScopeProxy;
19 class WorkerThread; 19 class WorkerThread;
20 20
(...skipping 24 matching lines...) Expand all
45 void writeTimelineStartedEvent(const String& sessionId, const String& worker Id); 45 void writeTimelineStartedEvent(const String& sessionId, const String& worker Id);
46 46
47 PageInspector* pageInspector() const { return m_pageInspector; } 47 PageInspector* pageInspector() const { return m_pageInspector; }
48 48
49 void setWorkerGlobalScopeProxy(WorkerGlobalScopeProxy* proxy) { m_workerGlob alScopeProxy = proxy; } 49 void setWorkerGlobalScopeProxy(WorkerGlobalScopeProxy* proxy) { m_workerGlob alScopeProxy = proxy; }
50 WorkerGlobalScopeProxy* workerGlobalScopeProxy() const { return m_workerGlob alScopeProxy; } 50 WorkerGlobalScopeProxy* workerGlobalScopeProxy() const { return m_workerGlob alScopeProxy; }
51 51
52 private: 52 private:
53 WorkerInspectorProxy(); 53 WorkerInspectorProxy();
54 54
55 void addDebuggerTaskForWorker(const WebTraceLocation&, PassOwnPtr<WebThread: :Task>); 55 void addDebuggerTaskForWorker(const WebTraceLocation&, PassOwnPtr<WebTaskRun ner::Task>);
56 56
57 WorkerThread* m_workerThread; 57 WorkerThread* m_workerThread;
58 RawPtrWillBeMember<ExecutionContext> m_executionContext; 58 RawPtrWillBeMember<ExecutionContext> m_executionContext;
59 RawPtrWillBeMember<WorkerInspectorProxy::PageInspector> m_pageInspector; 59 RawPtrWillBeMember<WorkerInspectorProxy::PageInspector> m_pageInspector;
60 WorkerGlobalScopeProxy* m_workerGlobalScopeProxy; 60 WorkerGlobalScopeProxy* m_workerGlobalScopeProxy;
61 }; 61 };
62 62
63 } // namespace blink 63 } // namespace blink
64 64
65 #endif // WorkerInspectorProxy_h 65 #endif // WorkerInspectorProxy_h
OLDNEW
« no previous file with comments | « Source/core/loader/ImageLoader.cpp ('k') | Source/core/workers/WorkerInspectorProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698