Changeset 269814 in webkit
- Timestamp:
- Nov 14, 2020 2:28:55 AM (3 years ago)
- Location:
- trunk/Source
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r269801 r269814 1 2020-11-14 Don Olmstead <don.olmstead@sony.com> 2 3 [clang-tidy] Run modernize-use-override through JSC 4 https://bugs.webkit.org/show_bug.cgi?id=218916 5 6 Reviewed by Yusuke Suzuki. 7 8 * inspector/agents/InspectorAgent.h: 9 * inspector/agents/InspectorScriptProfilerAgent.h: 10 * inspector/agents/InspectorTargetAgent.h: 11 * inspector/agents/JSGlobalObjectAuditAgent.h: 12 * inspector/agents/JSGlobalObjectDebuggerAgent.h: 13 * inspector/agents/JSGlobalObjectRuntimeAgent.h: 14 * inspector/remote/socket/RemoteInspectorConnectionClient.h: 15 * inspector/remote/socket/RemoteInspectorServer.h: 16 * runtime/JSGlobalObjectDebuggable.h: 17 1 18 2020-11-13 Xan López <xan@igalia.com> 2 19 -
trunk/Source/JavaScriptCore/inspector/agents/InspectorAgent.h
r266885 r269814 46 46 public: 47 47 InspectorAgent(AgentContext&); 48 ~InspectorAgent() ;48 ~InspectorAgent() final; 49 49 50 50 // InspectorAgentBase 51 void didCreateFrontendAndBackend(FrontendRouter*, BackendDispatcher*) ;52 void willDestroyFrontendAndBackend(DisconnectReason) ;51 void didCreateFrontendAndBackend(FrontendRouter*, BackendDispatcher*) final; 52 void willDestroyFrontendAndBackend(DisconnectReason) final; 53 53 54 54 // InspectorBackendDispatcherHandler 55 Protocol::ErrorStringOr<void> enable() ;56 Protocol::ErrorStringOr<void> disable() ;57 Protocol::ErrorStringOr<void> initialized() ;55 Protocol::ErrorStringOr<void> enable() final; 56 Protocol::ErrorStringOr<void> disable() final; 57 Protocol::ErrorStringOr<void> initialized() final; 58 58 59 59 // CommandLineAPI -
trunk/Source/JavaScriptCore/inspector/agents/InspectorScriptProfilerAgent.h
r266885 r269814 43 43 public: 44 44 InspectorScriptProfilerAgent(AgentContext&); 45 ~InspectorScriptProfilerAgent() ;45 ~InspectorScriptProfilerAgent() final; 46 46 47 47 // InspectorAgentBase 48 void didCreateFrontendAndBackend(FrontendRouter*, BackendDispatcher*) ;49 void willDestroyFrontendAndBackend(DisconnectReason) ;48 void didCreateFrontendAndBackend(FrontendRouter*, BackendDispatcher*) final; 49 void willDestroyFrontendAndBackend(DisconnectReason) final; 50 50 51 51 // ScriptProfilerBackendDispatcherHandler 52 Protocol::ErrorStringOr<void> startTracking(Optional<bool>&& includeSamples) ;53 Protocol::ErrorStringOr<void> stopTracking() ;52 Protocol::ErrorStringOr<void> startTracking(Optional<bool>&& includeSamples) final; 53 Protocol::ErrorStringOr<void> stopTracking() final; 54 54 55 55 // JSC::Debugger::ProfilingClient 56 bool isAlreadyProfiling() const ;57 Seconds willEvaluateScript() ;58 void didEvaluateScript(Seconds, JSC::ProfilingReason) ;56 bool isAlreadyProfiling() const final; 57 Seconds willEvaluateScript() final; 58 void didEvaluateScript(Seconds, JSC::ProfilingReason) final; 59 59 60 60 private: -
trunk/Source/JavaScriptCore/inspector/agents/InspectorTargetAgent.h
r266885 r269814 41 41 public: 42 42 InspectorTargetAgent(FrontendRouter&, BackendDispatcher&); 43 ~InspectorTargetAgent() ;43 ~InspectorTargetAgent() final; 44 44 45 45 // InspectorAgentBase 46 void didCreateFrontendAndBackend(FrontendRouter*, BackendDispatcher*) ;47 void willDestroyFrontendAndBackend(DisconnectReason) ;46 void didCreateFrontendAndBackend(FrontendRouter*, BackendDispatcher*) final; 47 void willDestroyFrontendAndBackend(DisconnectReason) final; 48 48 49 49 // TargetBackendDispatcherHandler 50 Protocol::ErrorStringOr<void> setPauseOnStart(bool) ;51 Protocol::ErrorStringOr<void> resume(const String& targetId) ;52 Protocol::ErrorStringOr<void> sendMessageToTarget(const String& targetId, const String& message) ;50 Protocol::ErrorStringOr<void> setPauseOnStart(bool) final; 51 Protocol::ErrorStringOr<void> resume(const String& targetId) final; 52 Protocol::ErrorStringOr<void> sendMessageToTarget(const String& targetId, const String& message) final; 53 53 54 54 // Target lifecycle. -
trunk/Source/JavaScriptCore/inspector/agents/JSGlobalObjectAuditAgent.h
r266885 r269814 39 39 public: 40 40 JSGlobalObjectAuditAgent(JSAgentContext&); 41 ~JSGlobalObjectAuditAgent() ;41 ~JSGlobalObjectAuditAgent() final; 42 42 43 43 private: 44 InjectedScript injectedScriptForEval(Protocol::ErrorString&, Optional<Protocol::Runtime::ExecutionContextId>&&) ;44 InjectedScript injectedScriptForEval(Protocol::ErrorString&, Optional<Protocol::Runtime::ExecutionContextId>&&) final; 45 45 46 46 JSC::JSGlobalObject& m_globalObject; -
trunk/Source/JavaScriptCore/inspector/agents/JSGlobalObjectDebuggerAgent.h
r266885 r269814 37 37 public: 38 38 JSGlobalObjectDebuggerAgent(JSAgentContext&, InspectorConsoleAgent*); 39 ~JSGlobalObjectDebuggerAgent() ;39 ~JSGlobalObjectDebuggerAgent() final; 40 40 41 41 // JSC::Debugger::Observer 42 void breakpointActionLog(JSC::JSGlobalObject*, const String& data) ;42 void breakpointActionLog(JSC::JSGlobalObject*, const String& data) final; 43 43 44 44 private: 45 InjectedScript injectedScriptForEval(Protocol::ErrorString&, Optional<Protocol::Runtime::ExecutionContextId>&&) ;45 InjectedScript injectedScriptForEval(Protocol::ErrorString&, Optional<Protocol::Runtime::ExecutionContextId>&&) final; 46 46 47 47 // NOTE: JavaScript inspector does not yet need to mute a console because no messages 48 48 // are sent to the console outside of the API boundary or console object. 49 void muteConsole() { }50 void unmuteConsole() { }49 void muteConsole() final { } 50 void unmuteConsole() final { } 51 51 52 52 InspectorConsoleAgent* m_consoleAgent { nullptr }; -
trunk/Source/JavaScriptCore/inspector/agents/JSGlobalObjectRuntimeAgent.h
r266885 r269814 40 40 public: 41 41 JSGlobalObjectRuntimeAgent(JSAgentContext&); 42 ~JSGlobalObjectRuntimeAgent() ;42 ~JSGlobalObjectRuntimeAgent() final; 43 43 44 44 private: 45 InjectedScript injectedScriptForEval(Protocol::ErrorString&, Optional<Protocol::Runtime::ExecutionContextId>&&) ;45 InjectedScript injectedScriptForEval(Protocol::ErrorString&, Optional<Protocol::Runtime::ExecutionContextId>&&) final; 46 46 47 47 // NOTE: JavaScript inspector does not yet need to mute a console because no messages 48 48 // are sent to the console outside of the API boundary or console object. 49 void muteConsole() { }50 void unmuteConsole() { }49 void muteConsole() final { } 50 void unmuteConsole() final { } 51 51 52 52 std::unique_ptr<RuntimeFrontendDispatcher> m_frontendDispatcher; -
trunk/Source/JavaScriptCore/inspector/remote/socket/RemoteInspectorConnectionClient.h
r267807 r269814 42 42 class JS_EXPORT_PRIVATE RemoteInspectorConnectionClient : public RemoteInspectorSocketEndpoint::Client { 43 43 public: 44 virtual ~RemoteInspectorConnectionClient();44 ~RemoteInspectorConnectionClient() override; 45 45 46 46 Optional<ConnectionID> connectInet(const char* serverAddr, uint16_t serverPort); -
trunk/Source/JavaScriptCore/inspector/remote/socket/RemoteInspectorServer.h
r269128 r269814 35 35 class RemoteInspectorServer final : public RemoteInspectorSocketEndpoint::Listener { 36 36 public: 37 ~RemoteInspectorServer() ;37 ~RemoteInspectorServer() final; 38 38 39 39 JS_EXPORT_PRIVATE static RemoteInspectorServer& singleton(); -
trunk/Source/JavaScriptCore/runtime/JSGlobalObjectDebuggable.h
r262302 r269814 45 45 public: 46 46 JSGlobalObjectDebuggable(JSGlobalObject&); 47 ~JSGlobalObjectDebuggable() { }47 ~JSGlobalObjectDebuggable() final { } 48 48 49 49 Inspector::RemoteControllableTarget::Type type() const final { return m_type; } -
trunk/Source/WTF/ChangeLog
r269810 r269814 1 2020-11-14 Don Olmstead <don.olmstead@sony.com> 2 3 [clang-tidy] Run modernize-use-override through JSC 4 https://bugs.webkit.org/show_bug.cgi?id=218916 5 6 Reviewed by Yusuke Suzuki. 7 8 * wtf/RunLoop.h: 9 1 10 2020-11-13 Sihui Liu <sihui_liu@apple.com> 2 11 -
trunk/Source/WTF/wtf/RunLoop.h
r269714 r269814 83 83 ~RunLoop() final; 84 84 85 WTF_EXPORT_PRIVATE void dispatch(Function<void()>&&) ;85 WTF_EXPORT_PRIVATE void dispatch(Function<void()>&&) final; 86 86 WTF_EXPORT_PRIVATE void dispatchAfter(Seconds, Function<void()>&&); 87 87 #if USE(COCOA_EVENT_LOOP)
Note: See TracChangeset
for help on using the changeset viewer.