Skip to content
  • timothy@apple.com's avatar
    Make InspectorTimelineAgent use an enum for the record type instead of a string. · f76a4b21
    timothy@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=121461
    
    Reviewed by Joseph Pecoraro.
    
    Source/WebCore:
    
    * inspector/Inspector.json:
    * inspector/InspectorTimelineAgent.cpp:
    (WebCore::InspectorTimelineAgent::addRecordToTimeline):
    (WebCore::toProtocol):
    (WebCore::InspectorTimelineAgent::innerAddRecordToTimeline):
    (WebCore::InspectorTimelineAgent::didCompleteCurrentRecord):
    (WebCore::InspectorTimelineAgent::appendRecord):
    (WebCore::InspectorTimelineAgent::pushCurrentRecord):
    * inspector/InspectorTimelineAgent.h:
    (WebCore::InspectorTimelineAgent::TimelineRecordEntry::TimelineRecordEntry):
    
    Source/WebInspectorUI:
    
    * UserInterface/InspectorBackendCommands.js:
    * UserInterface/Legacy/6.0/InspectorBackendCommands.js:
    * UserInterface/TimelineManager.js:
    (WebInspector.TimelineManager.prototype.eventRecorded.processRecord):
    (WebInspector.TimelineManager.prototype.eventRecorded):
    * Versions/Inspector-iOS-6.0.json:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155924 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    f76a4b21