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: 2017-04-26 Functions: 2 3 66.7 %

          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/timezone-cache.h"
       9             : 
      10             : namespace v8 {
      11             : namespace base {
      12             : 
      13       60775 : class PosixTimezoneCache : public TimezoneCache {
      14             :  public:
      15             :   const char* LocalTimezone(double time_ms) override;
      16             :   double DaylightSavingsOffset(double time_ms) override;
      17             :   double LocalTimeOffset() override;
      18       60782 :   void Clear() override {}
      19      118556 :   ~PosixTimezoneCache() override {}
      20             : 
      21             :  protected:
      22             :   static const int msPerSecond = 1000;
      23             : };
      24             : 
      25             : }  // namespace base
      26             : }  // namespace v8
      27             : 
      28             : #endif  // V8_BASE_PLATFORM_PLATFORM_POSIX_H_

Generated by: LCOV version 1.10