ipc/chromium/src/base/file_version_info_linux.cc
author Smokey Ardisson <alqahira@ardisson.org>
Mon, 07 Jan 2013 23:52:45 -0500
branchCAMINO_2_1_SECBRANCH
changeset 35290 b66b287a2650de54f6b2a2b92f6bd456d1bcd76e
parent 33811 2e5197c227166b207b4263fb07850be79ecdb4de
permissions -rw-r--r--
Bug 825484 - Upgrade CAMINO_2_1_SECBRANCH to NSS_3_14_CKBI_1_93_RTM (implies NSPR_4_9_3_RTM). r=wtc/kaie/bsmith/kwilson on the original patches in their original bugs, a=me for CAMINO_2_1_SECBRANCH. CLOSED TREE

// Copyright (c) 2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/file_version_info.h"
#include "base/file_version_info_linux.h"

#include <string>

// TODO(mmoss) This only provides version info for the current binary, but it's
// also called for arbitrary files (e.g. plugins).
// See http://code.google.com/p/chromium/issues/detail?id=8132 for a discussion
// on what we should do with this module.

FileVersionInfo::FileVersionInfo() {}

FileVersionInfo::~FileVersionInfo() {}

// static
FileVersionInfo* FileVersionInfo::CreateFileVersionInfoForCurrentModule() {
  return new FileVersionInfo();
}

std::wstring FileVersionInfo::company_name() {
  return COMPANY_NAME;
}

std::wstring FileVersionInfo::company_short_name() {
  return COMPANY_SHORT_NAME;
}

std::wstring FileVersionInfo::product_name() {
  return PRODUCT_NAME;
}

std::wstring FileVersionInfo::product_short_name() {
  return PRODUCT_SHORT_NAME;
}

std::wstring FileVersionInfo::internal_name() {
  return INTERNAL_NAME;
}

std::wstring FileVersionInfo::product_version() {
  return PRODUCT_VERSION;
}

std::wstring FileVersionInfo::private_build() {
  return PRIVATE_BUILD;
}

std::wstring FileVersionInfo::special_build() {
  return SPECIAL_BUILD;
}

std::wstring FileVersionInfo::comments() {
  return COMMENTS;
}

std::wstring FileVersionInfo::original_filename() {
  return ORIGINAL_FILENAME;
}

std::wstring FileVersionInfo::file_description() {
  return FILE_DESCRIPTION;
}

std::wstring FileVersionInfo::file_version() {
  return FILE_VERSION;
}

std::wstring FileVersionInfo::legal_copyright() {
  return LEGAL_COPYRIGHT;
}

std::wstring FileVersionInfo::legal_trademarks() {
  return LEGAL_TRADEMARKS;
}

std::wstring FileVersionInfo::last_change() {
  return LAST_CHANGE;
}

bool FileVersionInfo::is_official_build() {
  return OFFICIAL_BUILD;
}