DescriptionMoved TestBackgroundSyncController to MockBackgroundSyncController
This is the first in a series of patches to add a content setting to
Background Sync.
In particular, this change will enable adding a method to
BackgroundSyncController that returns a permission status and mocking
it for tests. We can't just add a method to the controller that
returns a granted permission - this would be risky, but we do want to
control permission during tests.
Original, 'big picture' patch: crrev.com/1673303002
TEST=Existing background sync tests don't break.
BUG=564052
Committed: https://crrev.com/db7b65c645901b995ca15cead932ebb4d04f83fa
Cr-Commit-Position: refs/heads/master@{#375646}
Patch Set 1 #
Total comments: 10
Patch Set 2 : Addressed comments #
Total comments: 2
Patch Set 3 : Removed unnecessary test code #
Total comments: 4
Patch Set 4 : Nits #Patch Set 5 : Hopefully fix win dbg compile error #Patch Set 6 : Trying to fix win compile again #
Messages
Total messages: 25 (12 generated)
|