| Index: sync/notifier/push_client_channel.cc
|
| diff --git a/sync/notifier/push_client_channel.cc b/sync/notifier/push_client_channel.cc
|
| index cfd3129b5991f19acca9cc612b23c6da98a8dee9..1d79ae0d3335475b07e79ede4bf3dabafbbe77ee 100644
|
| --- a/sync/notifier/push_client_channel.cc
|
| +++ b/sync/notifier/push_client_channel.cc
|
| @@ -62,12 +62,12 @@ void PushClientChannel::SetSystemResources(
|
| // Do nothing.
|
| }
|
|
|
| -void PushClientChannel::OnNotificationStateChange(
|
| - bool notifications_enabled) {
|
| +void PushClientChannel::OnPushClientStateChange(
|
| + notifier::PushClientState push_client_state) {
|
| for (NetworkStatusReceiverList::const_iterator it =
|
| network_status_receivers_.begin();
|
| it != network_status_receivers_.end(); ++it) {
|
| - (*it)->Run(notifications_enabled);
|
| + (*it)->Run(push_client_state == notifier::NOTIFICATIONS_ON);
|
| }
|
| }
|
|
|
|
|