Description[CacheStorage] Use URLRequestContextGetter instead of URLRequestContext
The CacheStorage classes shouldn't store raw pointers to
URLRequestContext. Use the getter class instead. This is part of a
cleanup to ensure that URLRequests are canceled before
URLRequestContext is deleted.
BUG=498563
Committed: https://crrev.com/a2bdc14d75b931ddee102b126248fc1aa473fb60
Cr-Commit-Position: refs/heads/master@{#333783}
Patch Set 1 #Patch Set 2 : Nit #Patch Set 3 : DCHECK that the URLRequestContext exists #Patch Set 4 : Actually pass a getter #
Total comments: 14
Patch Set 5 : Address comments from PS4 #Messages
Total messages: 12 (3 generated)
|