1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4  * License, v. 2.0. If a copy of the MPL was not distributed with this
5  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 
7 // This is a dummy version of Chromium source file base/file_version_info_win.h
8 // Within our copy of Chromium files FileVersionInfoWin is only used in
9 // base/win/windows_version.cc in GetVersionFromKernel32, which we don't use.
10 
11 #ifndef BASE_FILE_VERSION_INFO_WIN_H_
12 #define BASE_FILE_VERSION_INFO_WIN_H_
13 
14 #include "mozilla/Assertions.h"
15 
16 struct tagVS_FIXEDFILEINFO;
17 typedef tagVS_FIXEDFILEINFO VS_FIXEDFILEINFO;
18 
19 namespace base {
20 class FilePath;
21 }
22 
23 class FileVersionInfoWin {
24  public:
25   static FileVersionInfoWin*
CreateFileVersionInfo(const base::FilePath & file_path)26     CreateFileVersionInfo(const base::FilePath& file_path) { MOZ_CRASH(); }
27 
fixed_file_info()28   VS_FIXEDFILEINFO* fixed_file_info() { MOZ_CRASH(); }
29 };
30 
31 #endif  // BASE_FILE_VERSION_INFO_WIN_H_
32