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

Side by Side Diff: third_party/WebKit/Source/core/inspector/WorkerInspectorController.cpp

Issue 2238423002: [DevTools] Generate all files in inspector_protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2240663003
Patch Set: Created 4 years, 4 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
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 20 matching lines...) Expand all
31 #include "core/inspector/WorkerInspectorController.h" 31 #include "core/inspector/WorkerInspectorController.h"
32 32
33 #include "core/InstrumentingAgents.h" 33 #include "core/InstrumentingAgents.h"
34 #include "core/inspector/InspectorInstrumentation.h" 34 #include "core/inspector/InspectorInstrumentation.h"
35 #include "core/inspector/InspectorLogAgent.h" 35 #include "core/inspector/InspectorLogAgent.h"
36 #include "core/inspector/WorkerThreadDebugger.h" 36 #include "core/inspector/WorkerThreadDebugger.h"
37 #include "core/workers/WorkerBackingThread.h" 37 #include "core/workers/WorkerBackingThread.h"
38 #include "core/workers/WorkerReportingProxy.h" 38 #include "core/workers/WorkerReportingProxy.h"
39 #include "core/workers/WorkerThread.h" 39 #include "core/workers/WorkerThread.h"
40 #include "platform/WebThreadSupportingGC.h" 40 #include "platform/WebThreadSupportingGC.h"
41 #include "platform/inspector_protocol/DispatcherBase.h" 41 #include "platform/inspector_protocol/InspectorProtocol.h"
42 #include "platform/v8_inspector/public/V8Inspector.h" 42 #include "platform/v8_inspector/public/V8Inspector.h"
43 #include "platform/v8_inspector/public/V8InspectorSession.h" 43 #include "platform/v8_inspector/public/V8InspectorSession.h"
44 44
45 namespace blink { 45 namespace blink {
46 46
47 WorkerInspectorController* WorkerInspectorController::create(WorkerThread* threa d) 47 WorkerInspectorController* WorkerInspectorController::create(WorkerThread* threa d)
48 { 48 {
49 WorkerThreadDebugger* debugger = WorkerThreadDebugger::from(thread->isolate( )); 49 WorkerThreadDebugger* debugger = WorkerThreadDebugger::from(thread->isolate( ));
50 return debugger ? new WorkerInspectorController(thread, debugger) : nullptr; 50 return debugger ? new WorkerInspectorController(thread, debugger) : nullptr;
51 } 51 }
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 m_session->flushProtocolNotifications(); 120 m_session->flushProtocolNotifications();
121 } 121 }
122 122
123 DEFINE_TRACE(WorkerInspectorController) 123 DEFINE_TRACE(WorkerInspectorController)
124 { 124 {
125 visitor->trace(m_instrumentingAgents); 125 visitor->trace(m_instrumentingAgents);
126 visitor->trace(m_session); 126 visitor->trace(m_session);
127 } 127 }
128 128
129 } // namespace blink 129 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698