summaryrefslogtreecommitdiff
path: root/xfa/include/fwl/adapter/fwl_adapterthreadmgr.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-12-07 12:21:52 -0800
committerTom Sepez <tsepez@chromium.org>2015-12-07 12:21:52 -0800
commit6fa20c60c6ed551af55bfc879668eaac5c237805 (patch)
tree87beef942a3c00cda64816c5f87be10345373a8a /xfa/include/fwl/adapter/fwl_adapterthreadmgr.h
parenta52feb072872f42b76994c5b5b5ba467d1103b7b (diff)
downloadpdfium-6fa20c60c6ed551af55bfc879668eaac5c237805.tar.xz
Rename CFWL_Thread classes to ThreadImp
This matches the 3-level parallel hierarchy convention used elsewhere in FWL. Remove dead code along the way. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1503503003 .
Diffstat (limited to 'xfa/include/fwl/adapter/fwl_adapterthreadmgr.h')
-rw-r--r--xfa/include/fwl/adapter/fwl_adapterthreadmgr.h19
1 files changed, 4 insertions, 15 deletions
diff --git a/xfa/include/fwl/adapter/fwl_adapterthreadmgr.h b/xfa/include/fwl/adapter/fwl_adapterthreadmgr.h
index 12b155db90..570e53349a 100644
--- a/xfa/include/fwl/adapter/fwl_adapterthreadmgr.h
+++ b/xfa/include/fwl/adapter/fwl_adapterthreadmgr.h
@@ -4,11 +4,10 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef _FWL_ADAPTER_THREAD_H
-#define _FWL_ADAPTER_THREAD_H
+#ifndef FWL_ADAPTERTHREADMGR_H_
+#define FWL_ADAPTERTHREADMGR_H_
+
class IFWL_Thread;
-class IFWL_AdapterMutex;
-class IFWL_AdapterSemaphore;
class IFWL_AdapterThreadMgr {
public:
@@ -22,14 +21,4 @@ class IFWL_AdapterThreadMgr {
virtual FWL_ERR Stop(FWL_HTHREAD hThread, int32_t iExitCode) = 0;
virtual IFWL_Thread* GetCurrentThread() = 0;
};
-class IFWL_AdapterSemaphore {
- public:
- virtual ~IFWL_AdapterSemaphore() {}
- static IFWL_AdapterSemaphore* Create();
- virtual FWL_ERR Destroy() = 0;
- virtual FWL_ERR Wait() const = 0;
- virtual FWL_ERR Post() = 0;
- virtual FWL_ERR Value(FX_DWORD& val) const = 0;
- virtual FWL_ERR Reset(int32_t init) = 0;
-};
-#endif
+#endif // FWL_ADAPTERTHREADMGR_H_