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

Side by Side Diff: third_party/WebKit/Source/core/inspector/ThreadDebugger.cpp

Issue 2817533005: Rewrite references to "wtf/" to "platform/wtf/" in core/inspector. (Closed)
Patch Set: Rebase. Created 3 years, 8 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 #include "core/inspector/ThreadDebugger.h" 5 #include "core/inspector/ThreadDebugger.h"
6 6
7 #include <memory>
7 #include "bindings/core/v8/SourceLocation.h" 8 #include "bindings/core/v8/SourceLocation.h"
8 #include "bindings/core/v8/V8Binding.h" 9 #include "bindings/core/v8/V8Binding.h"
9 #include "bindings/core/v8/V8DOMException.h" 10 #include "bindings/core/v8/V8DOMException.h"
10 #include "bindings/core/v8/V8DOMTokenList.h" 11 #include "bindings/core/v8/V8DOMTokenList.h"
11 #include "bindings/core/v8/V8Event.h" 12 #include "bindings/core/v8/V8Event.h"
12 #include "bindings/core/v8/V8EventListener.h" 13 #include "bindings/core/v8/V8EventListener.h"
13 #include "bindings/core/v8/V8EventListenerHelper.h" 14 #include "bindings/core/v8/V8EventListenerHelper.h"
14 #include "bindings/core/v8/V8EventListenerInfo.h" 15 #include "bindings/core/v8/V8EventListenerInfo.h"
15 #include "bindings/core/v8/V8HTMLAllCollection.h" 16 #include "bindings/core/v8/V8HTMLAllCollection.h"
16 #include "bindings/core/v8/V8HTMLCollection.h" 17 #include "bindings/core/v8/V8HTMLCollection.h"
17 #include "bindings/core/v8/V8Node.h" 18 #include "bindings/core/v8/V8Node.h"
18 #include "bindings/core/v8/V8NodeList.h" 19 #include "bindings/core/v8/V8NodeList.h"
19 #include "bindings/core/v8/V8ScriptRunner.h" 20 #include "bindings/core/v8/V8ScriptRunner.h"
20 #include "core/dom/DocumentUserGestureToken.h" 21 #include "core/dom/DocumentUserGestureToken.h"
21 #include "core/inspector/ConsoleMessage.h" 22 #include "core/inspector/ConsoleMessage.h"
22 #include "core/inspector/InspectorDOMDebuggerAgent.h" 23 #include "core/inspector/InspectorDOMDebuggerAgent.h"
23 #include "core/inspector/InspectorTraceEvents.h" 24 #include "core/inspector/InspectorTraceEvents.h"
24 #include "core/inspector/V8InspectorString.h" 25 #include "core/inspector/V8InspectorString.h"
25 #include "platform/ScriptForbiddenScope.h" 26 #include "platform/ScriptForbiddenScope.h"
26 #include "wtf/CurrentTime.h" 27 #include "platform/wtf/CurrentTime.h"
27 #include "wtf/PtrUtil.h" 28 #include "platform/wtf/PtrUtil.h"
28 #include <memory>
29 29
30 namespace blink { 30 namespace blink {
31 31
32 ThreadDebugger::ThreadDebugger(v8::Isolate* isolate) 32 ThreadDebugger::ThreadDebugger(v8::Isolate* isolate)
33 : isolate_(isolate), 33 : isolate_(isolate),
34 v8_inspector_(v8_inspector::V8Inspector::create(isolate, this)), 34 v8_inspector_(v8_inspector::V8Inspector::create(isolate, this)),
35 v8_tracing_cpu_profiler_(v8::TracingCpuProfiler::Create(isolate)) {} 35 v8_tracing_cpu_profiler_(v8::TracingCpuProfiler::Create(isolate)) {}
36 36
37 ThreadDebugger::~ThreadDebugger() {} 37 ThreadDebugger::~ThreadDebugger() {}
38 38
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 void ThreadDebugger::OnTimer(TimerBase* timer) { 471 void ThreadDebugger::OnTimer(TimerBase* timer) {
472 for (size_t index = 0; index < timers_.size(); ++index) { 472 for (size_t index = 0; index < timers_.size(); ++index) {
473 if (timers_[index].get() == timer) { 473 if (timers_[index].get() == timer) {
474 timer_callbacks_[index](timer_data_[index]); 474 timer_callbacks_[index](timer_data_[index]);
475 return; 475 return;
476 } 476 }
477 } 477 }
478 } 478 }
479 479
480 } // namespace blink 480 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698