Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Side by Side Diff: base/file_version_info.h

Issue 7474010: mac: Components build for base, easy part (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | base/mac/foundation_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 // This function should be inlined so that the "current module" is evaluated 53 // This function should be inlined so that the "current module" is evaluated
54 // correctly, instead of being the module that contains base. 54 // correctly, instead of being the module that contains base.
55 __forceinline static FileVersionInfo* 55 __forceinline static FileVersionInfo*
56 CreateFileVersionInfoForCurrentModule() { 56 CreateFileVersionInfoForCurrentModule() {
57 HMODULE module = reinterpret_cast<HMODULE>(&__ImageBase); 57 HMODULE module = reinterpret_cast<HMODULE>(&__ImageBase);
58 return CreateFileVersionInfoForModule(module); 58 return CreateFileVersionInfoForModule(module);
59 } 59 }
60 #else 60 #else
61 // Creates a FileVersionInfo for the current module. Returns NULL in case 61 // Creates a FileVersionInfo for the current module. Returns NULL in case
62 // of error. The returned object should be deleted when you are done with it. 62 // of error. The returned object should be deleted when you are done with it.
63 static FileVersionInfo* CreateFileVersionInfoForCurrentModule(); 63 BASE_API static FileVersionInfo* CreateFileVersionInfoForCurrentModule();
64 #endif // OS_WIN 64 #endif // OS_WIN
65 65
66 // Accessors to the different version properties. 66 // Accessors to the different version properties.
67 // Returns an empty string if the property is not found. 67 // Returns an empty string if the property is not found.
68 virtual string16 company_name() = 0; 68 virtual string16 company_name() = 0;
69 virtual string16 company_short_name() = 0; 69 virtual string16 company_short_name() = 0;
70 virtual string16 product_name() = 0; 70 virtual string16 product_name() = 0;
71 virtual string16 product_short_name() = 0; 71 virtual string16 product_short_name() = 0;
72 virtual string16 internal_name() = 0; 72 virtual string16 internal_name() = 0;
73 virtual string16 product_version() = 0; 73 virtual string16 product_version() = 0;
74 virtual string16 private_build() = 0; 74 virtual string16 private_build() = 0;
75 virtual string16 special_build() = 0; 75 virtual string16 special_build() = 0;
76 virtual string16 comments() = 0; 76 virtual string16 comments() = 0;
77 virtual string16 original_filename() = 0; 77 virtual string16 original_filename() = 0;
78 virtual string16 file_description() = 0; 78 virtual string16 file_description() = 0;
79 virtual string16 file_version() = 0; 79 virtual string16 file_version() = 0;
80 virtual string16 legal_copyright() = 0; 80 virtual string16 legal_copyright() = 0;
81 virtual string16 legal_trademarks() = 0; 81 virtual string16 legal_trademarks() = 0;
82 virtual string16 last_change() = 0; 82 virtual string16 last_change() = 0;
83 virtual bool is_official_build() = 0; 83 virtual bool is_official_build() = 0;
84 }; 84 };
85 85
86 #endif // BASE_FILE_VERSION_INFO_H__ 86 #endif // BASE_FILE_VERSION_INFO_H__
OLDNEW
« no previous file with comments | « no previous file | base/mac/foundation_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698