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

Side by Side Diff: third_party/WebKit/Source/web/WebDevToolsAgentImpl.h

Issue 1924173002: [DevTools] Improve performance of InstrumentingAgents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile Created 4 years, 7 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 #ifndef WebDevToolsAgentImpl_h 31 #ifndef WebDevToolsAgentImpl_h
32 #define WebDevToolsAgentImpl_h 32 #define WebDevToolsAgentImpl_h
33 33
34 #include "core/inspector/InspectorPageAgent.h" 34 #include "core/inspector/InspectorPageAgent.h"
35 #include "core/inspector/InspectorRuntimeAgent.h" 35 #include "core/inspector/InspectorRuntimeAgent.h"
36 #include "core/inspector/InspectorSession.h" 36 #include "core/inspector/InspectorSession.h"
37 #include "core/inspector/InspectorTracingAgent.h" 37 #include "core/inspector/InspectorTracingAgent.h"
38 #include "core/inspector/InstrumentingSessions.h"
39 #include "platform/heap/Handle.h" 38 #include "platform/heap/Handle.h"
40 #include "public/platform/WebSize.h" 39 #include "public/platform/WebSize.h"
41 #include "public/platform/WebThread.h" 40 #include "public/platform/WebThread.h"
42 #include "public/web/WebDevToolsAgent.h" 41 #include "public/web/WebDevToolsAgent.h"
43 #include "web/InspectorEmulationAgent.h" 42 #include "web/InspectorEmulationAgent.h"
44 #include "wtf/Forward.h" 43 #include "wtf/Forward.h"
45 #include "wtf/OwnPtr.h" 44 #include "wtf/OwnPtr.h"
46 #include "wtf/Vector.h" 45 #include "wtf/Vector.h"
47 46
48 namespace blink { 47 namespace blink {
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 static void runDebuggerTask(int sessionId, PassOwnPtr<WebDevToolsAgent::Mess ageDescriptor>); 142 static void runDebuggerTask(int sessionId, PassOwnPtr<WebDevToolsAgent::Mess ageDescriptor>);
144 143
145 bool attached() const { return m_session.get(); } 144 bool attached() const { return m_session.get(); }
146 145
147 WebDevToolsAgentClient* m_client; 146 WebDevToolsAgentClient* m_client;
148 Member<WebLocalFrameImpl> m_webLocalFrameImpl; 147 Member<WebLocalFrameImpl> m_webLocalFrameImpl;
149 #if DCHECK_IS_ON() 148 #if DCHECK_IS_ON()
150 bool m_hasBeenDisposed; 149 bool m_hasBeenDisposed;
151 #endif 150 #endif
152 151
153 Member<InstrumentingSessions> m_instrumentingSessions; 152 Member<InstrumentingAgents> m_instrumentingAgents;
154 Member<InspectorResourceContentLoader> m_resourceContentLoader; 153 Member<InspectorResourceContentLoader> m_resourceContentLoader;
155 Member<InspectorOverlay> m_overlay; 154 Member<InspectorOverlay> m_overlay;
156 Member<InspectedFrames> m_inspectedFrames; 155 Member<InspectedFrames> m_inspectedFrames;
157 Member<InspectorResourceContainer> m_resourceContainer; 156 Member<InspectorResourceContainer> m_resourceContainer;
158 OwnPtr<V8InspectorSession> m_v8Session; 157 OwnPtr<V8InspectorSession> m_v8Session;
159 158
160 Member<InspectorDOMAgent> m_domAgent; 159 Member<InspectorDOMAgent> m_domAgent;
161 Member<InspectorPageAgent> m_pageAgent; 160 Member<InspectorPageAgent> m_pageAgent;
162 Member<InspectorResourceAgent> m_resourceAgent; 161 Member<InspectorResourceAgent> m_resourceAgent;
163 Member<InspectorLayerTreeAgent> m_layerTreeAgent; 162 Member<InspectorLayerTreeAgent> m_layerTreeAgent;
164 Member<InspectorTracingAgent> m_tracingAgent; 163 Member<InspectorTracingAgent> m_tracingAgent;
165 164
166 Member<InspectorSession> m_session; 165 Member<InspectorSession> m_session;
167 bool m_includeViewAgents; 166 bool m_includeViewAgents;
168 int m_layerTreeId; 167 int m_layerTreeId;
169 }; 168 };
170 169
171 } // namespace blink 170 } // namespace blink
172 171
173 #endif 172 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698