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

Side by Side Diff: third_party/WebKit/Source/core/inspector/InspectorTracingAgent.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 /* 1 /*
2 * Copyright 2014 The Chromium Authors. All rights reserved. 2 * Copyright 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 #ifndef InspectorTracingAgent_h 7 #ifndef InspectorTracingAgent_h
8 #define InspectorTracingAgent_h 8 #define InspectorTracingAgent_h
9 9
10 #include "core/CoreExport.h" 10 #include "core/CoreExport.h"
11 #include "core/inspector/InspectorBaseAgent.h" 11 #include "core/inspector/InspectorBaseAgent.h"
12 #include "wtf/PassOwnPtr.h" 12 #include "wtf/PassOwnPtr.h"
13 #include "wtf/text/WTFString.h" 13 #include "wtf/text/WTFString.h"
14 14
15 namespace blink { 15 namespace blink {
16 16
17 class InspectedFrames; 17 class InspectedFrames;
18 class InspectorWorkerAgent; 18 class InspectorWorkerAgent;
19 19
20 class CORE_EXPORT InspectorTracingAgent final 20 class CORE_EXPORT InspectorTracingAgent final
21 : public InspectorBaseAgent<InspectorTracingAgent, protocol::Tracing::Fronte nd> 21 : public InspectorBaseAgent<protocol::Tracing::Metainfo> {
22 , public protocol::Tracing::Backend {
23 WTF_MAKE_NONCOPYABLE(InspectorTracingAgent); 22 WTF_MAKE_NONCOPYABLE(InspectorTracingAgent);
24 public: 23 public:
25 class Client { 24 class Client {
26 public: 25 public:
27 virtual ~Client() { } 26 virtual ~Client() { }
28 27
29 virtual void enableTracing(const String& categoryFilter) { } 28 virtual void enableTracing(const String& categoryFilter) { }
30 virtual void disableTracing() { } 29 virtual void disableTracing() { }
31 }; 30 };
32 31
(...skipping 24 matching lines...) Expand all
57 56
58 int m_layerTreeId; 57 int m_layerTreeId;
59 Client* m_client; 58 Client* m_client;
60 Member<InspectorWorkerAgent> m_workerAgent; 59 Member<InspectorWorkerAgent> m_workerAgent;
61 Member<InspectedFrames> m_inspectedFrames; 60 Member<InspectedFrames> m_inspectedFrames;
62 }; 61 };
63 62
64 } // namespace blink 63 } // namespace blink
65 64
66 #endif // InspectorTracingAgent_h 65 #endif // InspectorTracingAgent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698