DescriptionHave FakeGCMProfileService return different registration IDs each time
This will be necessary for testing that the Push API code properly
persists push registrations to disk.
The slightly odd 1000 * (sender_ids.size() - 1) means that existing tests that only register once and pass in a single sender ID are unchanged.
BUG=429212
Committed: https://crrev.com/29022c572fbd857e94f9e1d1eb5c19ed285863a2
Cr-Commit-Position: refs/heads/master@{#307906}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add comment #Patch Set 3 : Use IntToString instead of UintToString #
Total comments: 2
Patch Set 4 : Simpler ID format #
Total comments: 4
Patch Set 5 : Tweak argument wrapping #
Messages
Total messages: 14 (3 generated)
|