| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #ifndef WEBRTC_MODULES_UTILITY_INTERFACE_PROCESS_THREAD_H_ | 11 #ifndef WEBRTC_MODULES_UTILITY_INCLUDE_PROCESS_THREAD_H_ |
| 12 #define WEBRTC_MODULES_UTILITY_INTERFACE_PROCESS_THREAD_H_ | 12 #define WEBRTC_MODULES_UTILITY_INCLUDE_PROCESS_THREAD_H_ |
| 13 |
| 14 #pragma message("WARNING: utility/interface is DEPRECATED; use utility/include") |
| 13 | 15 |
| 14 #include "webrtc/typedefs.h" | 16 #include "webrtc/typedefs.h" |
| 15 #include "webrtc/base/scoped_ptr.h" | 17 #include "webrtc/base/scoped_ptr.h" |
| 16 | 18 |
| 17 namespace webrtc { | 19 namespace webrtc { |
| 18 class Module; | 20 class Module; |
| 19 | 21 |
| 20 class ProcessTask { | 22 class ProcessTask { |
| 21 public: | 23 public: |
| 22 ProcessTask() {} | 24 ProcessTask() {} |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 // Can be called from any thread. | 58 // Can be called from any thread. |
| 57 virtual void RegisterModule(Module* module) = 0; | 59 virtual void RegisterModule(Module* module) = 0; |
| 58 | 60 |
| 59 // Removes a previously registered module. | 61 // Removes a previously registered module. |
| 60 // Can be called from any thread. | 62 // Can be called from any thread. |
| 61 virtual void DeRegisterModule(Module* module) = 0; | 63 virtual void DeRegisterModule(Module* module) = 0; |
| 62 }; | 64 }; |
| 63 | 65 |
| 64 } // namespace webrtc | 66 } // namespace webrtc |
| 65 | 67 |
| 66 #endif // WEBRTC_MODULES_UTILITY_INTERFACE_PROCESS_THREAD_H_ | 68 #endif // WEBRTC_MODULES_UTILITY_INCLUDE_PROCESS_THREAD_H_ |
| OLD | NEW |