• David Maunder's avatar
    Separate out TabState fields to separate class and change · 5db42678
    David Maunder authored
    serialization method to protobufs.
    
    Currently in TabState fields are persisted by storing in a file one after
    another. This approach does not scale well - fields are not well organized
    and this approach makes it difficult to deprecate fields.
    
    PersistedTabData enables persisted fields to be better organized and
    protobufs offer better support for adding and deprecating fields.
    
    PersistedTabData also enables different storage methods - in an
    upcoming CL a PersistedTabData which uses a Level DB backend will
    be used for data for building new features but is not pertinent
    to the running of the app.
    
    Bug: 1046367
    Change-Id: Id73074303641babb24e2f6109254c53d0d763e2c
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2025317
    Commit-Queue: David Maunder <davidjm@chromium.org>
    Reviewed-by: default avatarDavid Trainor <dtrainor@chromium.org>
    Reviewed-by: default avatarTommy Nyquist <nyquist@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#750611}
    5db42678
chrome_test_java_sources.gni 47.4 KB