| 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_COMMON_DEPRECATED_EVENT_SYS_INL_H_ | 5 #ifndef CHROME_COMMON_DEPRECATED_EVENT_SYS_INL_H_ |
| 6 #define CHROME_COMMON_DEPRECATED_EVENT_SYS_INL_H_ | 6 #define CHROME_COMMON_DEPRECATED_EVENT_SYS_INL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 | 10 |
| 11 #include "base/atomicops.h" | |
| 12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 13 #include "base/condition_variable.h" | 12 #include "base/condition_variable.h" |
| 14 #include "base/lock.h" | 13 #include "base/lock.h" |
| 15 #include "base/logging.h" | 14 #include "base/logging.h" |
| 16 #include "base/message_loop.h" | 15 #include "base/message_loop.h" |
| 17 #include "base/port.h" | 16 #include "base/port.h" |
| 18 #include "chrome/common/deprecated/event_sys.h" | 17 #include "chrome/common/deprecated/event_sys.h" |
| 19 | 18 |
| 20 // How to use Channels: | 19 // How to use Channels: |
| 21 | 20 |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 CallbackObject* cbobject, | 332 CallbackObject* cbobject, |
| 334 CallbackMethod cbmethod, | 333 CallbackMethod cbmethod, |
| 335 CallbackArg0 arg0) { | 334 CallbackArg0 arg0) { |
| 336 return new ArgHookup<EventChannel, | 335 return new ArgHookup<EventChannel, |
| 337 typename EventChannel::EventTraits, | 336 typename EventChannel::EventTraits, |
| 338 CallbackObject, CallbackMethod, CallbackArg0>(channel, cbobject, | 337 CallbackObject, CallbackMethod, CallbackArg0>(channel, cbobject, |
| 339 cbmethod, arg0); | 338 cbmethod, arg0); |
| 340 } | 339 } |
| 341 | 340 |
| 342 #endif // CHROME_COMMON_DEPRECATED_EVENT_SYS_INL_H_ | 341 #endif // CHROME_COMMON_DEPRECATED_EVENT_SYS_INL_H_ |
| OLD | NEW |