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

Side by Side Diff: webrtc/rtc_base/sigslot.h

Issue 2963273002: Update includes for webrtc/{base => rtc_base} rename (3/3) (Closed)
Patch Set: git cl format Created 3 years, 5 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
« no previous file with comments | « webrtc/rtc_base/sha1digest_unittest.cc ('k') | webrtc/rtc_base/sigslot.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // sigslot.h: Signal/Slot classes 1 // sigslot.h: Signal/Slot classes
2 // 2 //
3 // Written by Sarah Thompson (sarah@telergy.com) 2002. 3 // Written by Sarah Thompson (sarah@telergy.com) 2002.
4 // 4 //
5 // License: Public domain. You are free to use this code however you like, with 5 // License: Public domain. You are free to use this code however you like, with
6 // the proviso that the author takes on no responsibility or liability for any 6 // the proviso that the author takes on no responsibility or liability for any
7 // use. 7 // use.
8 // 8 //
9 // QUICK DOCUMENTATION 9 // QUICK DOCUMENTATION
10 // 10 //
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 #if defined(SIGSLOT_PURE_ISO) || \ 107 #if defined(SIGSLOT_PURE_ISO) || \
108 (!defined(WEBRTC_WIN) && !defined(__GNUG__) && \ 108 (!defined(WEBRTC_WIN) && !defined(__GNUG__) && \
109 !defined(SIGSLOT_USE_POSIX_THREADS)) 109 !defined(SIGSLOT_USE_POSIX_THREADS))
110 #define _SIGSLOT_SINGLE_THREADED 110 #define _SIGSLOT_SINGLE_THREADED
111 #elif defined(WEBRTC_WIN) 111 #elif defined(WEBRTC_WIN)
112 #define _SIGSLOT_HAS_WIN32_THREADS 112 #define _SIGSLOT_HAS_WIN32_THREADS
113 #if !defined(WIN32_LEAN_AND_MEAN) 113 #if !defined(WIN32_LEAN_AND_MEAN)
114 #define WIN32_LEAN_AND_MEAN 114 #define WIN32_LEAN_AND_MEAN
115 #endif 115 #endif
116 #include "webrtc/base/win32.h" 116 #include "webrtc/rtc_base/win32.h"
117 #elif defined(__GNUG__) || defined(SIGSLOT_USE_POSIX_THREADS) 117 #elif defined(__GNUG__) || defined(SIGSLOT_USE_POSIX_THREADS)
118 #define _SIGSLOT_HAS_POSIX_THREADS 118 #define _SIGSLOT_HAS_POSIX_THREADS
119 #include <pthread.h> 119 #include <pthread.h>
120 #else 120 #else
121 #define _SIGSLOT_SINGLE_THREADED 121 #define _SIGSLOT_SINGLE_THREADED
122 #endif 122 #endif
123 123
124 #ifndef SIGSLOT_DEFAULT_MT_POLICY 124 #ifndef SIGSLOT_DEFAULT_MT_POLICY
125 #ifdef _SIGSLOT_SINGLE_THREADED 125 #ifdef _SIGSLOT_SINGLE_THREADED
126 #define SIGSLOT_DEFAULT_MT_POLICY single_threaded 126 #define SIGSLOT_DEFAULT_MT_POLICY single_threaded
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 typename A6, 638 typename A6,
639 typename A7, 639 typename A7,
640 typename A8, 640 typename A8,
641 typename mt_policy = SIGSLOT_DEFAULT_MT_POLICY> 641 typename mt_policy = SIGSLOT_DEFAULT_MT_POLICY>
642 using signal8 = 642 using signal8 =
643 signal_with_thread_policy<mt_policy, A1, A2, A3, A4, A5, A6, A7, A8>; 643 signal_with_thread_policy<mt_policy, A1, A2, A3, A4, A5, A6, A7, A8>;
644 644
645 } // namespace sigslot 645 } // namespace sigslot
646 646
647 #endif // WEBRTC_RTC_BASE_SIGSLOT_H_ 647 #endif // WEBRTC_RTC_BASE_SIGSLOT_H_
OLDNEW
« no previous file with comments | « webrtc/rtc_base/sha1digest_unittest.cc ('k') | webrtc/rtc_base/sigslot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698