OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 80 |
81 scoped_ptr_malloc<char> data_; | 81 scoped_ptr_malloc<char> data_; |
82 int language_; | 82 int language_; |
83 int code_page_; | 83 int code_page_; |
84 // This is a pointer into the data_ if it exists. Otherwise NULL. | 84 // This is a pointer into the data_ if it exists. Otherwise NULL. |
85 VS_FIXEDFILEINFO* fixed_file_info_; | 85 VS_FIXEDFILEINFO* fixed_file_info_; |
86 #elif defined(OS_MACOSX) | 86 #elif defined(OS_MACOSX) |
87 explicit FileVersionInfo(NSBundle *bundle); | 87 explicit FileVersionInfo(NSBundle *bundle); |
88 | 88 |
89 NSBundle *bundle_; | 89 NSBundle *bundle_; |
90 #elif defined(OS_LINUX) | 90 #elif defined(OS_LINUX) || defined(OS_OPENBSD) |
91 FileVersionInfo(); | 91 FileVersionInfo(); |
92 #endif | 92 #endif |
93 | 93 |
94 DISALLOW_EVIL_CONSTRUCTORS(FileVersionInfo); | 94 DISALLOW_EVIL_CONSTRUCTORS(FileVersionInfo); |
95 }; | 95 }; |
96 | 96 |
97 #endif // BASE_FILE_VERSION_INFO_H__ | 97 #endif // BASE_FILE_VERSION_INFO_H__ |
OLD | NEW |