Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Side by Side Diff: jingle/notifier/listener/xmpp_push_client.cc

Issue 16514006: Update includes of message_loop_proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « jingle/notifier/listener/non_blocking_push_client.cc ('k') | media/audio/audio_manager_base.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "jingle/notifier/listener/xmpp_push_client.h" 5 #include "jingle/notifier/listener/xmpp_push_client.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/message_loop_proxy.h" 8 #include "base/message_loop/message_loop_proxy.h"
9 #include "jingle/notifier/base/notifier_options_util.h" 9 #include "jingle/notifier/base/notifier_options_util.h"
10 #include "jingle/notifier/listener/push_client_observer.h" 10 #include "jingle/notifier/listener/push_client_observer.h"
11 #include "jingle/notifier/listener/send_ping_task.h" 11 #include "jingle/notifier/listener/send_ping_task.h"
12 #include "jingle/notifier/listener/push_notifications_send_update_task.h" 12 #include "jingle/notifier/listener/push_notifications_send_update_task.h"
13 13
14 namespace notifier { 14 namespace notifier {
15 15
16 XmppPushClient::XmppPushClient(const NotifierOptions& notifier_options) 16 XmppPushClient::XmppPushClient(const NotifierOptions& notifier_options)
17 : notifier_options_(notifier_options) { 17 : notifier_options_(notifier_options) {
18 DCHECK(notifier_options_.request_context_getter-> 18 DCHECK(notifier_options_.request_context_getter->
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 if (!base_task_.get()) { 157 if (!base_task_.get()) {
158 DVLOG(1) << "Push: Cannot send ping"; 158 DVLOG(1) << "Push: Cannot send ping";
159 return; 159 return;
160 } 160 }
161 // Owned by |base_task_|. 161 // Owned by |base_task_|.
162 SendPingTask* task = new SendPingTask(base_task_.get(), this); 162 SendPingTask* task = new SendPingTask(base_task_.get(), this);
163 task->Start(); 163 task->Start();
164 } 164 }
165 165
166 } // namespace notifier 166 } // namespace notifier
OLDNEW
« no previous file with comments | « jingle/notifier/listener/non_blocking_push_client.cc ('k') | media/audio/audio_manager_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698