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

Side by Side Diff: src/inspector/V8ProfilerAgentImpl.h

Issue 2359533002: [inspector] replaced V8_INSPECTOR* macros with macros from base/macros.h (Closed)
Patch Set: Created 4 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 | « src/inspector/V8InspectorSessionImpl.h ('k') | src/inspector/V8Regex.h » ('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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project 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 V8_INSPECTOR_V8PROFILERAGENTIMPL_H_ 5 #ifndef V8_INSPECTOR_V8PROFILERAGENTIMPL_H_
6 #define V8_INSPECTOR_V8PROFILERAGENTIMPL_H_ 6 #define V8_INSPECTOR_V8PROFILERAGENTIMPL_H_
7 7
8 #include "src/inspector/Allocator.h" 8 #include "src/base/macros.h"
9 #include "src/inspector/protocol/Forward.h" 9 #include "src/inspector/protocol/Forward.h"
10 #include "src/inspector/protocol/Profiler.h" 10 #include "src/inspector/protocol/Profiler.h"
11 11
12 #include <vector> 12 #include <vector>
13 13
14 namespace v8 { 14 namespace v8 {
15 class CpuProfiler; 15 class CpuProfiler;
16 class Isolate; 16 class Isolate;
17 } 17 }
18 18
19 namespace v8_inspector { 19 namespace v8_inspector {
20 20
21 class V8InspectorSessionImpl; 21 class V8InspectorSessionImpl;
22 22
23 using protocol::ErrorString; 23 using protocol::ErrorString;
24 24
25 class V8ProfilerAgentImpl : public protocol::Profiler::Backend { 25 class V8ProfilerAgentImpl : public protocol::Profiler::Backend {
26 V8_INSPECTOR_DISALLOW_COPY(V8ProfilerAgentImpl); 26 DISALLOW_COPY_AND_ASSIGN(V8ProfilerAgentImpl);
27 27
28 public: 28 public:
29 V8ProfilerAgentImpl(V8InspectorSessionImpl*, protocol::FrontendChannel*, 29 V8ProfilerAgentImpl(V8InspectorSessionImpl*, protocol::FrontendChannel*,
30 protocol::DictionaryValue* state); 30 protocol::DictionaryValue* state);
31 ~V8ProfilerAgentImpl() override; 31 ~V8ProfilerAgentImpl() override;
32 32
33 bool enabled() const { return m_enabled; } 33 bool enabled() const { return m_enabled; }
34 void restore(); 34 void restore();
35 35
36 void enable(ErrorString*) override; 36 void enable(ErrorString*) override;
(...skipping 28 matching lines...) Expand all
65 bool m_enabled; 65 bool m_enabled;
66 bool m_recordingCPUProfile; 66 bool m_recordingCPUProfile;
67 class ProfileDescriptor; 67 class ProfileDescriptor;
68 std::vector<ProfileDescriptor> m_startedProfiles; 68 std::vector<ProfileDescriptor> m_startedProfiles;
69 String16 m_frontendInitiatedProfileId; 69 String16 m_frontendInitiatedProfileId;
70 }; 70 };
71 71
72 } // namespace v8_inspector 72 } // namespace v8_inspector
73 73
74 #endif // V8_INSPECTOR_V8PROFILERAGENTIMPL_H_ 74 #endif // V8_INSPECTOR_V8PROFILERAGENTIMPL_H_
OLDNEW
« no previous file with comments | « src/inspector/V8InspectorSessionImpl.h ('k') | src/inspector/V8Regex.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698