Home | History | Annotate | Download | only in base
      1 /*
      2  *  Copyright 2013 The WebRTC Project Authors. All rights reserved.
      3  *
      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
      6  *  tree. An additional intellectual property rights grant can be found
      7  *  in the file PATENTS.  All contributing project authors may
      8  *  be found in the AUTHORS file in the root of the source tree.
      9  */
     10 
     11 #ifndef WEBRTC_BASE_FAKECPUMONITOR_H_
     12 #define WEBRTC_BASE_FAKECPUMONITOR_H_
     13 
     14 #include "webrtc/base/cpumonitor.h"
     15 
     16 namespace rtc {
     17 
     18 class FakeCpuMonitor : public rtc::CpuMonitor {
     19  public:
     20   explicit FakeCpuMonitor(Thread* thread)
     21       : CpuMonitor(thread) {
     22   }
     23   ~FakeCpuMonitor() {
     24   }
     25 
     26   virtual void OnMessage(rtc::Message* msg) {
     27   }
     28 };
     29 
     30 }  // namespace rtc
     31 
     32 #endif  // WEBRTC_BASE_FAKECPUMONITOR_H_
     33