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

Side by Side Diff: webrtc/modules/audio_device/linux/latebindingsymboltable_linux.h

Issue 2964773002: Revert "Update includes for webrtc/{base => rtc_base} rename (1/3)" (Closed)
Patch Set: 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2010 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2010 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_AUDIO_DEVICE_LATEBINDINGSYMBOLTABLE_LINUX_H 11 #ifndef WEBRTC_AUDIO_DEVICE_LATEBINDINGSYMBOLTABLE_LINUX_H
12 #define WEBRTC_AUDIO_DEVICE_LATEBINDINGSYMBOLTABLE_LINUX_H 12 #define WEBRTC_AUDIO_DEVICE_LATEBINDINGSYMBOLTABLE_LINUX_H
13 13
14 #include <assert.h> 14 #include <assert.h>
15 #include <stddef.h> // for NULL 15 #include <stddef.h> // for NULL
16 #include <string.h> 16 #include <string.h>
17 17
18 #include "webrtc/rtc_base/constructormagic.h" 18 #include "webrtc/base/constructormagic.h"
19 19
20 // This file provides macros for creating "symbol table" classes to simplify the 20 // This file provides macros for creating "symbol table" classes to simplify the
21 // dynamic loading of symbols from DLLs. Currently the implementation only 21 // dynamic loading of symbols from DLLs. Currently the implementation only
22 // supports Linux and pure C symbols. 22 // supports Linux and pure C symbols.
23 // See talk/sound/pulseaudiosymboltable.(h|cc) for an example. 23 // See talk/sound/pulseaudiosymboltable.(h|cc) for an example.
24 24
25 namespace webrtc { 25 namespace webrtc {
26 namespace adm_linux { 26 namespace adm_linux {
27 27
28 #ifdef WEBRTC_LINUX 28 #ifdef WEBRTC_LINUX
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 169
170 // Returns a reference to the given late-binded symbol, with the correct type. 170 // Returns a reference to the given late-binded symbol, with the correct type.
171 #define LATESYM_GET(ClassName, inst, sym) \ 171 #define LATESYM_GET(ClassName, inst, sym) \
172 (*reinterpret_cast<typeof(&sym)>( \ 172 (*reinterpret_cast<typeof(&sym)>( \
173 (inst)->GetSymbol(LATESYM_INDEXOF(ClassName, sym)))) 173 (inst)->GetSymbol(LATESYM_INDEXOF(ClassName, sym))))
174 174
175 } // namespace adm_linux 175 } // namespace adm_linux
176 } // namespace webrtc 176 } // namespace webrtc
177 177
178 #endif // WEBRTC_ADM_LATEBINDINGSYMBOLTABLE_LINUX_H 178 #endif // WEBRTC_ADM_LATEBINDINGSYMBOLTABLE_LINUX_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698