• Kelvin Jiang's avatar
    [Extensions] Separate activity log into multiple files · 350b8006
    Kelvin Jiang authored
    activity_log.js will be split into activity_log_history.js and
    activity_log.js to separate the file in preparation for the real-time
    stream implementation.
    
    activity_log.js takes care of the UI lifecycle and common UI elements
    logic (i.e. back/clear button, search bar, and loading the activity log
    when the page is reached)
    
    activity_log_history.js takes care of fetching, handling and displaying
    activity log data from the activityLogPrivate API.
    
    In a later CL, the activity log stream (implemented by listening to
    activityLogPrivate.onExtensionActivity events) will be in a different
    tab under activity_log.js and will have its own file. This CL aims to
    prevent putting all activity logic into one large (and very bloated)
    file.
    
    Bug: 832354
    Change-Id: I88be6309ba4c4d73e0078ce86e893dafb26594c2
    Reviewed-on: https://chromium-review.googlesource.com/c/1432939
    Commit-Queue: Kelvin Jiang <kelvinjiang@chromium.org>
    Reviewed-by: default avatarDemetrios Papadopoulos <dpapad@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#629848}
    350b8006
extensions_resources.grd 10.5 KB