OLD | NEW |
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 #ifndef CHROME_BROWSER_SYNC_NOTIFIER_BASE_SIGNAL_THREAD_TASK_H_ | 5 #ifndef CHROME_COMMON_NET_NOTIFIER_BASE_SIGNAL_THREAD_TASK_H_ |
6 #define CHROME_BROWSER_SYNC_NOTIFIER_BASE_SIGNAL_THREAD_TASK_H_ | 6 #define CHROME_COMMON_NET_NOTIFIER_BASE_SIGNAL_THREAD_TASK_H_ |
7 | 7 |
8 #include "talk/base/common.h" | 8 #include "talk/base/common.h" |
9 #include "talk/base/signalthread.h" | 9 #include "talk/base/signalthread.h" |
10 #include "talk/base/sigslot.h" | 10 #include "talk/base/sigslot.h" |
11 #include "talk/base/task.h" | 11 #include "talk/base/task.h" |
12 | 12 |
13 namespace notifier { | 13 namespace notifier { |
14 | 14 |
15 template<class T> | 15 template<class T> |
16 class SignalThreadTask : public talk_base::Task, | 16 class SignalThreadTask : public talk_base::Task, |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 } | 83 } |
84 } | 84 } |
85 | 85 |
86 T* signal_thread_; | 86 T* signal_thread_; |
87 bool finished_; | 87 bool finished_; |
88 DISALLOW_COPY_AND_ASSIGN(SignalThreadTask); | 88 DISALLOW_COPY_AND_ASSIGN(SignalThreadTask); |
89 }; | 89 }; |
90 | 90 |
91 } // namespace notifier | 91 } // namespace notifier |
92 | 92 |
93 #endif // CHROME_BROWSER_SYNC_NOTIFIER_BASE_SIGNAL_THREAD_TASK_H_ | 93 #endif // CHROME_COMMON_NET_NOTIFIER_BASE_SIGNAL_THREAD_TASK_H_ |
OLD | NEW |