summaryrefslogtreecommitdiffstats
path: root/media/webrtc/signaling/test/FakeIPC.h
blob: e13fc271d2b0074cedc4233d1a4e230833bfd3ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef FAKE_IPC_H_
#define FAKE_IPC_H_
#include <unistd.h>

class PlatformThread {
public:
  static void YieldCurrentThread();
};

namespace base {
class AtExitManager {
public:
  typedef void (*AtExitCallbackType)(void*);

  static void RegisterCallback(AtExitCallbackType func, void* param);
};
}
#endif