LCOV - code coverage report
Current view: directory - ipc/chromium/src/base - file_version_info_linux.cc (source / functions) Found Hit Coverage
Test: app.info Lines: 36 0 0.0 %
Date: 2012-06-02 Functions: 19 0 0.0 %

       1                 : // Copyright (c) 2008 The Chromium 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                 : #include "base/file_version_info.h"
       6                 : #include "base/file_version_info_linux.h"
       7                 : 
       8                 : #include <string>
       9                 : 
      10                 : // TODO(mmoss) This only provides version info for the current binary, but it's
      11                 : // also called for arbitrary files (e.g. plugins).
      12                 : // See http://code.google.com/p/chromium/issues/detail?id=8132 for a discussion
      13                 : // on what we should do with this module.
      14                 : 
      15               0 : FileVersionInfo::FileVersionInfo() {}
      16                 : 
      17               0 : FileVersionInfo::~FileVersionInfo() {}
      18                 : 
      19                 : // static
      20               0 : FileVersionInfo* FileVersionInfo::CreateFileVersionInfoForCurrentModule() {
      21               0 :   return new FileVersionInfo();
      22                 : }
      23                 : 
      24               0 : std::wstring FileVersionInfo::company_name() {
      25               0 :   return COMPANY_NAME;
      26                 : }
      27                 : 
      28               0 : std::wstring FileVersionInfo::company_short_name() {
      29               0 :   return COMPANY_SHORT_NAME;
      30                 : }
      31                 : 
      32               0 : std::wstring FileVersionInfo::product_name() {
      33               0 :   return PRODUCT_NAME;
      34                 : }
      35                 : 
      36               0 : std::wstring FileVersionInfo::product_short_name() {
      37               0 :   return PRODUCT_SHORT_NAME;
      38                 : }
      39                 : 
      40               0 : std::wstring FileVersionInfo::internal_name() {
      41               0 :   return INTERNAL_NAME;
      42                 : }
      43                 : 
      44               0 : std::wstring FileVersionInfo::product_version() {
      45               0 :   return PRODUCT_VERSION;
      46                 : }
      47                 : 
      48               0 : std::wstring FileVersionInfo::private_build() {
      49               0 :   return PRIVATE_BUILD;
      50                 : }
      51                 : 
      52               0 : std::wstring FileVersionInfo::special_build() {
      53               0 :   return SPECIAL_BUILD;
      54                 : }
      55                 : 
      56               0 : std::wstring FileVersionInfo::comments() {
      57               0 :   return COMMENTS;
      58                 : }
      59                 : 
      60               0 : std::wstring FileVersionInfo::original_filename() {
      61               0 :   return ORIGINAL_FILENAME;
      62                 : }
      63                 : 
      64               0 : std::wstring FileVersionInfo::file_description() {
      65               0 :   return FILE_DESCRIPTION;
      66                 : }
      67                 : 
      68               0 : std::wstring FileVersionInfo::file_version() {
      69               0 :   return FILE_VERSION;
      70                 : }
      71                 : 
      72               0 : std::wstring FileVersionInfo::legal_copyright() {
      73               0 :   return LEGAL_COPYRIGHT;
      74                 : }
      75                 : 
      76               0 : std::wstring FileVersionInfo::legal_trademarks() {
      77               0 :   return LEGAL_TRADEMARKS;
      78                 : }
      79                 : 
      80               0 : std::wstring FileVersionInfo::last_change() {
      81               0 :   return LAST_CHANGE;
      82                 : }
      83                 : 
      84               0 : bool FileVersionInfo::is_official_build() {
      85               0 :   return OFFICIAL_BUILD;
      86                 : }

Generated by: LCOV version 1.7