• Nate Fischer's avatar
    AW: configure cookies for Network Service · 4ff116fd
    Nate Fischer authored
    This configures cookie settings in the NetworkContext, based on
    non-service code path (defined in WebView's CookieManager). This
    refactors the cookie-path logic to a shared location in
    AwBrowserContext.
    
    Specifically, this configures the following:
    
     * save and restore session cookies
     * cookies should persist to disk
    
    This also does some minor refactoring for the HTTP cache, for
    consistency.
    
    Bug: 933456, 933457, 902641
    Test: None
    Cq-Include-Trybots: master.tryserver.chromium.android:android_mojo
    Change-Id: Ib53d4cbab8ccdf2f916a256f6d549bea644b6611
    Reviewed-on: https://chromium-review.googlesource.com/c/1385492
    Auto-Submit: Nate Fischer <ntfschr@chromium.org>
    Reviewed-by: default avatarChangwan Ryu <changwan@chromium.org>
    Commit-Queue: Nate Fischer <ntfschr@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#635625}
    4ff116fd
aw_browser_context.h 6.54 KB