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

Side by Side Diff: third_party/WebKit/Source/core/inspector/InspectorSession.h

Issue 2012753003: DevTools: consolidate protocol generators for front-end, backend and type builder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 InspectorSession_h 5 #ifndef InspectorSession_h
6 #define InspectorSession_h 6 #define InspectorSession_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 "platform/inspector_protocol/Dispatcher.h" 10 #include "platform/inspector_protocol/DispatcherBase.h"
11 #include "platform/inspector_protocol/Frontend.h"
12 #include "platform/inspector_protocol/FrontendChannel.h" 11 #include "platform/inspector_protocol/FrontendChannel.h"
13 #include "platform/inspector_protocol/Values.h" 12 #include "platform/inspector_protocol/Values.h"
14 #include "platform/v8_inspector/public/V8InspectorSessionClient.h" 13 #include "platform/v8_inspector/public/V8InspectorSessionClient.h"
15 #include "wtf/Forward.h" 14 #include "wtf/Forward.h"
16 #include "wtf/PassOwnPtr.h" 15 #include "wtf/PassOwnPtr.h"
17 #include "wtf/Vector.h" 16 #include "wtf/Vector.h"
18 #include "wtf/text/WTFString.h" 17 #include "wtf/text/WTFString.h"
19 18
20 namespace blink { 19 namespace blink {
21 20
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 void forceContextsInAllFrames(); 81 void forceContextsInAllFrames();
83 bool isInstrumenting(); 82 bool isInstrumenting();
84 83
85 Client* m_client; 84 Client* m_client;
86 std::unique_ptr<V8InspectorSession> m_v8Session; 85 std::unique_ptr<V8InspectorSession> m_v8Session;
87 int m_sessionId; 86 int m_sessionId;
88 bool m_autoFlush; 87 bool m_autoFlush;
89 bool m_disposed; 88 bool m_disposed;
90 Member<InspectedFrames> m_inspectedFrames; 89 Member<InspectedFrames> m_inspectedFrames;
91 Member<InstrumentingAgents> m_instrumentingAgents; 90 Member<InstrumentingAgents> m_instrumentingAgents;
92 std::unique_ptr<protocol::Frontend> m_inspectorFrontend; 91 std::unique_ptr<protocol::UberDispatcher> m_inspectorBackendDispatcher;
93 std::unique_ptr<protocol::Dispatcher> m_inspectorBackendDispatcher;
94 std::unique_ptr<protocol::DictionaryValue> m_state; 92 std::unique_ptr<protocol::DictionaryValue> m_state;
95 HeapVector<Member<InspectorAgent>> m_agents; 93 HeapVector<Member<InspectorAgent>> m_agents;
96 Vector<protocol::String16> m_notificationQueue; 94 Vector<protocol::String16> m_notificationQueue;
97 String m_lastSentState; 95 String m_lastSentState;
98 }; 96 };
99 97
100 } // namespace blink 98 } // namespace blink
101 99
102 #endif // !defined(InspectorSession_h) 100 #endif // !defined(InspectorSession_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698