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

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

Issue 1779033003: DevTools: always use 16bit strings for inspector protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaselined Created 4 years, 9 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 "bindings/core/v8/V8Binding.h" 7 #include "bindings/core/v8/V8Binding.h"
8 #include "bindings/core/v8/V8DOMException.h" 8 #include "bindings/core/v8/V8DOMException.h"
9 #include "bindings/core/v8/V8DOMTokenList.h" 9 #include "bindings/core/v8/V8DOMTokenList.h"
10 #include "bindings/core/v8/V8HTMLAllCollection.h" 10 #include "bindings/core/v8/V8HTMLAllCollection.h"
(...skipping 11 matching lines...) Expand all
22 ThreadDebugger::ThreadDebugger(v8::Isolate* isolate) 22 ThreadDebugger::ThreadDebugger(v8::Isolate* isolate)
23 : m_isolate(isolate) 23 : m_isolate(isolate)
24 , m_debugger(V8Debugger::create(isolate, this)) 24 , m_debugger(V8Debugger::create(isolate, this))
25 { 25 {
26 } 26 }
27 27
28 ThreadDebugger::~ThreadDebugger() 28 ThreadDebugger::~ThreadDebugger()
29 { 29 {
30 } 30 }
31 31
32 void ThreadDebugger::eventListeners(v8::Local<v8::Value> value, V8EventListenerI nfoMap& result) 32 void ThreadDebugger::eventListeners(v8::Local<v8::Value> value, V8EventListenerI nfoList& result)
33 { 33 {
34 InspectorDOMDebuggerAgent::eventListenersInfoForTarget(m_isolate, value, res ult); 34 InspectorDOMDebuggerAgent::eventListenersInfoForTarget(m_isolate, value, res ult);
35 } 35 }
36 36
37 v8::MaybeLocal<v8::Object> ThreadDebugger::instantiateObject(v8::Local<v8::Funct ion> function) 37 v8::MaybeLocal<v8::Object> ThreadDebugger::instantiateObject(v8::Local<v8::Funct ion> function)
38 { 38 {
39 return V8ScriptRunner::instantiateObject(m_isolate, function); 39 return V8ScriptRunner::instantiateObject(m_isolate, function);
40 } 40 }
41 41
42 v8::MaybeLocal<v8::Value> ThreadDebugger::runCompiledScript(v8::Local<v8::Contex t> context, v8::Local<v8::Script> script) 42 v8::MaybeLocal<v8::Value> ThreadDebugger::runCompiledScript(v8::Local<v8::Contex t> context, v8::Local<v8::Script> script)
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 return !!V8RecursionScope::recursionLevel(m_isolate); 84 return !!V8RecursionScope::recursionLevel(m_isolate);
85 } 85 }
86 86
87 double ThreadDebugger::currentTimeMS() 87 double ThreadDebugger::currentTimeMS()
88 { 88 {
89 return WTF::currentTimeMS(); 89 return WTF::currentTimeMS();
90 } 90 }
91 91
92 92
93 } // namespace blink 93 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/inspector/ThreadDebugger.h ('k') | third_party/WebKit/Source/platform/blink_platform.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698