| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef BASE_FILE_VERSION_INFO_H__ | 5 #ifndef BASE_FILE_VERSION_INFO_H__ |
| 6 #define BASE_FILE_VERSION_INFO_H__ | 6 #define BASE_FILE_VERSION_INFO_H__ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
| 11 #include <windows.h> | 11 #include <windows.h> |
| 12 // http://blogs.msdn.com/oldnewthing/archive/2004/10/25/247180.aspx | 12 // http://blogs.msdn.com/oldnewthing/archive/2004/10/25/247180.aspx |
| 13 extern "C" IMAGE_DOS_HEADER __ImageBase; | 13 extern "C" IMAGE_DOS_HEADER __ImageBase; |
| 14 #endif // OS_WIN | 14 #endif // OS_WIN |
| 15 | 15 |
| 16 #include <string> | 16 #include <string> |
| 17 | 17 |
| 18 #include "base/base_export.h" | 18 #include "base/base_export.h" |
| 19 #include "base/string16.h" | 19 #include "base/strings/string16.h" |
| 20 | 20 |
| 21 namespace base { | 21 namespace base { |
| 22 class FilePath; | 22 class FilePath; |
| 23 } | 23 } |
| 24 | 24 |
| 25 // Provides an interface for accessing the version information for a file. This | 25 // Provides an interface for accessing the version information for a file. This |
| 26 // is the information you access when you select a file in the Windows Explorer, | 26 // is the information you access when you select a file in the Windows Explorer, |
| 27 // right-click select Properties, then click the Version tab, and on the Mac | 27 // right-click select Properties, then click the Version tab, and on the Mac |
| 28 // when you select a file in the Finder and do a Get Info. | 28 // when you select a file in the Finder and do a Get Info. |
| 29 // | 29 // |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 virtual string16 original_filename() = 0; | 78 virtual string16 original_filename() = 0; |
| 79 virtual string16 file_description() = 0; | 79 virtual string16 file_description() = 0; |
| 80 virtual string16 file_version() = 0; | 80 virtual string16 file_version() = 0; |
| 81 virtual string16 legal_copyright() = 0; | 81 virtual string16 legal_copyright() = 0; |
| 82 virtual string16 legal_trademarks() = 0; | 82 virtual string16 legal_trademarks() = 0; |
| 83 virtual string16 last_change() = 0; | 83 virtual string16 last_change() = 0; |
| 84 virtual bool is_official_build() = 0; | 84 virtual bool is_official_build() = 0; |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 #endif // BASE_FILE_VERSION_INFO_H__ | 87 #endif // BASE_FILE_VERSION_INFO_H__ |
| OLD | NEW |