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

Side by Side Diff: src/inspector/v8-profiler-agent-impl.cc

Issue 2510823002: [inspector] remove profiler->collectSample from V8StackTraceImpl::capture (Closed)
Patch Set: removed collectSample method from profiler agent Created 4 years, 1 month 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/v8-profiler-agent-impl.h ('k') | src/inspector/v8-stack-trace-impl.cc » ('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 #include "src/inspector/v8-profiler-agent-impl.h" 5 #include "src/inspector/v8-profiler-agent-impl.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "src/base/atomicops.h" 9 #include "src/base/atomicops.h"
10 #include "src/inspector/protocol/Protocol.h" 10 #include "src/inspector/protocol/Protocol.h"
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 bool V8ProfilerAgentImpl::idleStarted() { 302 bool V8ProfilerAgentImpl::idleStarted() {
303 if (m_profiler) m_profiler->SetIdle(true); 303 if (m_profiler) m_profiler->SetIdle(true);
304 return m_profiler; 304 return m_profiler;
305 } 305 }
306 306
307 bool V8ProfilerAgentImpl::idleFinished() { 307 bool V8ProfilerAgentImpl::idleFinished() {
308 if (m_profiler) m_profiler->SetIdle(false); 308 if (m_profiler) m_profiler->SetIdle(false);
309 return m_profiler; 309 return m_profiler;
310 } 310 }
311 311
312 void V8ProfilerAgentImpl::collectSample() {
313 if (m_profiler) m_profiler->CollectSample();
314 }
315
316 } // namespace v8_inspector 312 } // namespace v8_inspector
OLDNEW
« no previous file with comments | « src/inspector/v8-profiler-agent-impl.h ('k') | src/inspector/v8-stack-trace-impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698