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

Side by Side Diff: chrome/browser/sync/notifier/base/task_pump.h

Issue 1956001: Moved XMPP notifier library from chrome/browser/sync to chrome/common.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_SYNC_NOTIFIER_BASE_TASK_PUMP_H_
6 #define CHROME_BROWSER_SYNC_NOTIFIER_BASE_TASK_PUMP_H_
7
8 #include "talk/base/messagequeue.h"
9 #include "talk/base/taskrunner.h"
10
11 namespace notifier {
12
13 class TaskPump : public talk_base::MessageHandler,
14 public talk_base::TaskRunner {
15 public:
16 TaskPump();
17
18 // MessageHandler interface.
19 virtual void OnMessage(talk_base::Message* msg);
20
21 // TaskRunner interface.
22 virtual void WakeTasks();
23 virtual int64 CurrentTime();
24
25 private:
26 int timeout_change_count_;
27 bool posted_;
28
29 DISALLOW_COPY_AND_ASSIGN(TaskPump);
30 };
31
32 } // namespace notifier
33
34 #endif // CHROME_BROWSER_SYNC_NOTIFIER_BASE_TASK_PUMP_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/notifier/base/static_assert.h ('k') | chrome/browser/sync/notifier/base/task_pump.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698