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) |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 return CreateFileVersionInfoForModule(module); | 59 return CreateFileVersionInfoForModule(module); |
60 } | 60 } |
61 #else | 61 #else |
62 // Creates a FileVersionInfo for the current module. Returns NULL in case | 62 // Creates a FileVersionInfo for the current module. Returns NULL in case |
63 // of error. The returned object should be deleted when you are done with it. | 63 // of error. The returned object should be deleted when you are done with it. |
64 BASE_EXPORT static FileVersionInfo* CreateFileVersionInfoForCurrentModule(); | 64 BASE_EXPORT static FileVersionInfo* CreateFileVersionInfoForCurrentModule(); |
65 #endif // OS_WIN | 65 #endif // OS_WIN |
66 | 66 |
67 // Accessors to the different version properties. | 67 // Accessors to the different version properties. |
68 // Returns an empty string if the property is not found. | 68 // Returns an empty string if the property is not found. |
69 virtual string16 company_name() = 0; | 69 virtual base::string16 company_name() = 0; |
70 virtual string16 company_short_name() = 0; | 70 virtual base::string16 company_short_name() = 0; |
71 virtual string16 product_name() = 0; | 71 virtual base::string16 product_name() = 0; |
72 virtual string16 product_short_name() = 0; | 72 virtual base::string16 product_short_name() = 0; |
73 virtual string16 internal_name() = 0; | 73 virtual base::string16 internal_name() = 0; |
74 virtual string16 product_version() = 0; | 74 virtual base::string16 product_version() = 0; |
75 virtual string16 private_build() = 0; | 75 virtual base::string16 private_build() = 0; |
76 virtual string16 special_build() = 0; | 76 virtual base::string16 special_build() = 0; |
77 virtual string16 comments() = 0; | 77 virtual base::string16 comments() = 0; |
78 virtual string16 original_filename() = 0; | 78 virtual base::string16 original_filename() = 0; |
79 virtual string16 file_description() = 0; | 79 virtual base::string16 file_description() = 0; |
80 virtual string16 file_version() = 0; | 80 virtual base::string16 file_version() = 0; |
81 virtual string16 legal_copyright() = 0; | 81 virtual base::string16 legal_copyright() = 0; |
82 virtual string16 legal_trademarks() = 0; | 82 virtual base::string16 legal_trademarks() = 0; |
83 virtual string16 last_change() = 0; | 83 virtual base::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 |