Chromium Code Reviews
DescriptionLoading: Factor out ResourceFetcherMockFetchContext
Factor out ResourceFetcherMockFetchContext as MockFetchContext
so that multiple unit tests can use it for mocking FetchContext
on unit tests.
I'm planning to split ResourceFetcherTest.cpp into multiple files
so that I can remove undesirable dependencies from the tests to
Resource and ResourceClient sub-classes. Once the tests are split
into multiple files, they all will use this single header file
to have a mocked FetchContext.
BUG=655920
Committed: https://crrev.com/162f29c10a4d1e9d037ed42c34eb9460ae20a5bb
Cr-Commit-Position: refs/heads/master@{#431849}
Patch Set 1 #Patch Set 2 : . #
Total comments: 4
Patch Set 3 : review #8 #
Total comments: 2
Patch Set 4 : enum k prefix #
Messages
Total messages: 26 (14 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||