Chromium Code Reviews
DescriptionImplement some follow-ups after mojofiction of Push-messaging.
- In push_messaging_manager.cc, store |callback| in |data| (RegisterData)
instead of passing it everywhere needs it.
- Naming the functions like DidFoo as opposed to FooCallback in
Push_Provider{.h|.cc}. which conveys information about the fact that something
happened.
- In PushProvider::SubscribeCallback(), to replace "if (!callbacks) return;" by
DCHECK(callbacks).
BUG=693366
Review-Url: https://codereview.chromium.org/2712693002
Cr-Commit-Position: refs/heads/master@{#452765}
Committed: https://chromium.googlesource.com/chromium/src/+/f667030fb4c6bb84a55332a5335d451e541d2c02
Patch Set 1 #
Total comments: 4
Patch Set 2 : Implement some follow-ups after mojofiction of Push-messaging. #Patch Set 3 : code rebase #
Messages
Total messages: 23 (16 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||