LCOV - code coverage report
Current view: top level - src/base/platform - platform-posix.h (source / functions) Hit Total Coverage
Test: app.info Lines: 3 3 100.0 %
Date: 2019-04-17 Functions: 1 1 100.0 %

          Line data    Source code
       1             : // Copyright 2017 the V8 project 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             : #ifndef V8_BASE_PLATFORM_PLATFORM_POSIX_H_
       6             : #define V8_BASE_PLATFORM_PLATFORM_POSIX_H_
       7             : 
       8             : #include "src/base/platform/platform.h"
       9             : #include "src/base/timezone-cache.h"
      10             : 
      11             : namespace v8 {
      12             : namespace base {
      13             : 
      14          10 : class PosixTimezoneCache : public TimezoneCache {
      15             :  public:
      16             :   double DaylightSavingsOffset(double time_ms) override;
      17          10 :   void Clear(TimeZoneDetection) override {}
      18          10 :   ~PosixTimezoneCache() override = default;
      19             : 
      20             :  protected:
      21             :   static const int msPerSecond = 1000;
      22             : };
      23             : 
      24             : }  // namespace base
      25             : }  // namespace v8
      26             : 
      27             : #endif  // V8_BASE_PLATFORM_PLATFORM_POSIX_H_

Generated by: LCOV version 1.10