DescriptionRemove resource_context.h include from resource_loader.cc.
Instead have it get the cert provider from its delegate (ResourceDispatcherHost) which in turn gets it from its delegate. The new method in ResourceDispatcherHostDelegate does use ResourceContext, but we are centralizing its use in just one class. In the future when the interface to resource dispatcher is mojo calls, we will have the child process' user ID which we can then use to get a profile interface for that user.
BUG=598073
Committed: https://crrev.com/347b567048a1521fc2b4cf47bbbfd885eb70ec39
Cr-Commit-Position: refs/heads/master@{#401402}
Patch Set 1 #Patch Set 2 : fix #Messages
Total messages: 9 (4 generated)
|