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

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

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef JINGLE_NOTIFIER_BASE_TASK_PUMP_H_ 5 #ifndef JINGLE_NOTIFIER_BASE_TASK_PUMP_H_
6 #define JINGLE_NOTIFIER_BASE_TASK_PUMP_H_ 6 #define JINGLE_NOTIFIER_BASE_TASK_PUMP_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/task.h"
11 #include "base/threading/non_thread_safe.h" 10 #include "base/threading/non_thread_safe.h"
12 #include "talk/base/taskrunner.h" 11 #include "talk/base/taskrunner.h"
13 12
14 namespace notifier { 13 namespace notifier {
15 14
16 class TaskPump : public talk_base::TaskRunner { 15 class TaskPump : public talk_base::TaskRunner {
17 public: 16 public:
18 TaskPump(); 17 TaskPump();
19 18
20 virtual ~TaskPump(); 19 virtual ~TaskPump();
(...skipping 13 matching lines...) Expand all
34 base::WeakPtrFactory<TaskPump> weak_factory_; 33 base::WeakPtrFactory<TaskPump> weak_factory_;
35 bool posted_wake_; 34 bool posted_wake_;
36 bool stopped_; 35 bool stopped_;
37 36
38 DISALLOW_COPY_AND_ASSIGN(TaskPump); 37 DISALLOW_COPY_AND_ASSIGN(TaskPump);
39 }; 38 };
40 39
41 } // namespace notifier 40 } // namespace notifier
42 41
43 #endif // JINGLE_NOTIFIER_BASE_TASK_PUMP_H_ 42 #endif // JINGLE_NOTIFIER_BASE_TASK_PUMP_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/command_buffer_service.h ('k') | jingle/notifier/listener/mediator_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698