Chromium Code Reviews

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

Issue 2226863003: [DevTools] Reduce API surface of String16. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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 #ifndef ThreadDebugger_h 5 #ifndef ThreadDebugger_h
6 #define ThreadDebugger_h 6 #define ThreadDebugger_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/inspector/ConsoleTypes.h" 9 #include "core/inspector/ConsoleTypes.h"
10 #include "platform/Timer.h" 10 #include "platform/Timer.h"
(...skipping 22 matching lines...)
33 static void willExecuteScript(v8::Isolate*, int scriptId); 33 static void willExecuteScript(v8::Isolate*, int scriptId);
34 static void didExecuteScript(v8::Isolate*); 34 static void didExecuteScript(v8::Isolate*);
35 static void idleStarted(v8::Isolate*); 35 static void idleStarted(v8::Isolate*);
36 static void idleFinished(v8::Isolate*); 36 static void idleFinished(v8::Isolate*);
37 37
38 void asyncTaskScheduled(const String& taskName, void* task, bool recurring); 38 void asyncTaskScheduled(const String& taskName, void* task, bool recurring);
39 void asyncTaskCanceled(void* task); 39 void asyncTaskCanceled(void* task);
40 void allAsyncTasksCanceled(); 40 void allAsyncTasksCanceled();
41 void asyncTaskStarted(void* task); 41 void asyncTaskStarted(void* task);
42 void asyncTaskFinished(void* task); 42 void asyncTaskFinished(void* task);
43 unsigned promiseRejected(v8::Local<v8::Context>, const String16& errorMessag e, v8::Local<v8::Value> exception, std::unique_ptr<SourceLocation>); 43 unsigned promiseRejected(v8::Local<v8::Context>, const String& errorMessage, v8::Local<v8::Value> exception, std::unique_ptr<SourceLocation>);
44 void promiseRejectionRevoked(v8::Local<v8::Context>, unsigned promiseRejecti onId); 44 void promiseRejectionRevoked(v8::Local<v8::Context>, unsigned promiseRejecti onId);
45 45
46 // V8InspectorClient implementation. 46 // V8InspectorClient implementation.
47 void beginUserGesture() override; 47 void beginUserGesture() override;
48 void endUserGesture() override; 48 void endUserGesture() override;
49 String16 valueSubtype(v8::Local<v8::Value>) override; 49 String16 valueSubtype(v8::Local<v8::Value>) override;
50 bool formatAccessorsAsProperties(v8::Local<v8::Value>) override; 50 bool formatAccessorsAsProperties(v8::Local<v8::Value>) override;
51 double currentTimeMS() override; 51 double currentTimeMS() override;
52 bool isInspectableHeapObject(v8::Local<v8::Object>) override; 52 bool isInspectableHeapObject(v8::Local<v8::Object>) override;
53 void installAdditionalCommandLineAPI(v8::Local<v8::Context>, v8::Local<v8::O bject>) override; 53 void installAdditionalCommandLineAPI(v8::Local<v8::Context>, v8::Local<v8::O bject>) override;
(...skipping 25 matching lines...)
79 std::unique_ptr<V8Inspector> m_v8Inspector; 79 std::unique_ptr<V8Inspector> m_v8Inspector;
80 Vector<std::unique_ptr<Timer<ThreadDebugger>>> m_timers; 80 Vector<std::unique_ptr<Timer<ThreadDebugger>>> m_timers;
81 Vector<V8InspectorClient::TimerCallback> m_timerCallbacks; 81 Vector<V8InspectorClient::TimerCallback> m_timerCallbacks;
82 Vector<void*> m_timerData; 82 Vector<void*> m_timerData;
83 std::unique_ptr<UserGestureIndicator> m_userGestureIndicator; 83 std::unique_ptr<UserGestureIndicator> m_userGestureIndicator;
84 }; 84 };
85 85
86 } // namespace blink 86 } // namespace blink
87 87
88 #endif // ThreadDebugger_h 88 #endif // ThreadDebugger_h
OLDNEW

Powered by Google App Engine