summaryrefslogtreecommitdiffstats
path: root/jingle/notifier/base/task_pump.h
diff options
context:
space:
mode:
Diffstat (limited to 'jingle/notifier/base/task_pump.h')
-rw-r--r--jingle/notifier/base/task_pump.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/jingle/notifier/base/task_pump.h b/jingle/notifier/base/task_pump.h
index 08f67f7..ee18fbe 100644
--- a/jingle/notifier/base/task_pump.h
+++ b/jingle/notifier/base/task_pump.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -12,7 +12,7 @@
namespace notifier {
-class TaskPump : public talk_base::TaskRunner {
+class TaskPump : public talk_base::TaskRunner, public base::NonThreadSafe {
public:
TaskPump();
@@ -29,7 +29,6 @@ class TaskPump : public talk_base::TaskRunner {
private:
void CheckAndRunTasks();
- base::NonThreadSafe non_thread_safe_;
base::WeakPtrFactory<TaskPump> weak_factory_;
bool posted_wake_;
bool stopped_;