1 // Copyright 2016 PDFium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #ifndef XFA_FWL_CFWL_TIMERINFO_H_ 8 #define XFA_FWL_CFWL_TIMERINFO_H_ 9 10 #include "core/fxcrt/fx_system.h" 11 12 class IFWL_AdapterTimerMgr; 13 14 class CFWL_TimerInfo { 15 public: CFWL_TimerInfo(IFWL_AdapterTimerMgr * mgr)16 explicit CFWL_TimerInfo(IFWL_AdapterTimerMgr* mgr) : m_pMgr(mgr) { 17 ASSERT(mgr); 18 } ~CFWL_TimerInfo()19 virtual ~CFWL_TimerInfo() {} 20 21 void StopTimer(); 22 23 private: 24 IFWL_AdapterTimerMgr* m_pMgr; // Not owned. 25 }; 26 27 #endif // XFA_FWL_CFWL_TIMERINFO_H_ 28