// Copyright 2011 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_FILE_VERSION_INFO_H_ #define BASE_FILE_VERSION_INFO_H_ #include <memory> #include <string> #include "build/build_config.h" #include "base/base_export.h" #if BUILDFLAG(IS_WIN) #include <windows.h> #endif namespace base { class FilePath; } // Provides an interface for accessing the version information for a file. This // is the information you access when you select a file in the Windows Explorer, // right-click select Properties, then click the Version tab, and on the Mac // when you select a file in the Finder and do a Get Info. // // This list of properties is straight out of Win32's VerQueryValue // <http://msdn.microsoft.com/en-us/library/ms647464.aspx> and the Mac // version returns values from the Info.plist as appropriate. TODO(avi): make // this a less-obvious Windows-ism. class BASE_EXPORT FileVersionInfo { … }; #endif // BASE_FILE_VERSION_INFO_H_