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

Side by Side Diff: jingle/notifier/base/task_pump.cc

Issue 2885005: Move chrome/common/net/notifier to jingle/notifier so that it can be used by remoting/remoting.gyp. (Closed) Base URL: git://codf21.jail.google.com/chromium.git
Patch Set: rebased Created 10 years, 5 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
« no previous file with comments | « jingle/notifier/base/task_pump.h ('k') | jingle/notifier/communicator/auto_reconnect.h » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "base/message_loop.h" 5 #include "base/message_loop.h"
6 #include "chrome/common/net/notifier/base/task_pump.h" 6 #include "jingle/notifier/base/task_pump.h"
7 7
8 namespace notifier { 8 namespace notifier {
9 9
10 TaskPump::TaskPump() 10 TaskPump::TaskPump()
11 : scoped_runnable_method_factory_( 11 : scoped_runnable_method_factory_(
12 ALLOW_THIS_IN_INITIALIZER_LIST(this)), 12 ALLOW_THIS_IN_INITIALIZER_LIST(this)),
13 posted_wake_(false) {} 13 posted_wake_(false) {}
14 14
15 TaskPump::~TaskPump() {} 15 TaskPump::~TaskPump() {}
16 16
(...skipping 19 matching lines...) Expand all
36 // We shouldn't be using libjingle for timeout tasks, so we should 36 // We shouldn't be using libjingle for timeout tasks, so we should
37 // have no timeout tasks at all. 37 // have no timeout tasks at all.
38 38
39 // TODO(akalin): Add HasTimeoutTask() back in TaskRunner class and 39 // TODO(akalin): Add HasTimeoutTask() back in TaskRunner class and
40 // uncomment this check. 40 // uncomment this check.
41 // DCHECK(!HasTimeoutTask()) 41 // DCHECK(!HasTimeoutTask())
42 RunTasks(); 42 RunTasks();
43 } 43 }
44 44
45 } // namespace notifier 45 } // namespace notifier
OLDNEW
« no previous file with comments | « jingle/notifier/base/task_pump.h ('k') | jingle/notifier/communicator/auto_reconnect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698