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

Unified Diff: cloud_print/common/win/install_utils.cc

Issue 1306603003: Redefine CreateFileVersionInfoForCurrentModule() as a macro on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use a real macro Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_watcher/chrome_watcher_main.cc ('k') | cloud_print/virtual_driver/win/install/setup.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cloud_print/common/win/install_utils.cc
diff --git a/cloud_print/common/win/install_utils.cc b/cloud_print/common/win/install_utils.cc
index eed09b3d36d1ad02dc7f423995052e3250c12993..b18d5fd5bbcf598671b5f50850eabfb62203d611 100644
--- a/cloud_print/common/win/install_utils.cc
+++ b/cloud_print/common/win/install_utils.cc
@@ -61,7 +61,7 @@ void SetGoogleUpdateKeys(const base::string16& product_id,
// Get the version from the resource file.
base::string16 version_string;
scoped_ptr<FileVersionInfo> version_info(
- FileVersionInfo::CreateFileVersionInfoForCurrentModule());
+ CREATE_FILE_VERSION_INFO_FOR_CURRENT_MODULE());
if (version_info.get()) {
FileVersionInfoWin* version_info_win =
@@ -152,7 +152,7 @@ void CreateUninstallKey(const base::string16& uninstall_id,
// Get the version resource.
scoped_ptr<FileVersionInfo> version_info(
- FileVersionInfo::CreateFileVersionInfoForCurrentModule());
+ CREATE_FILE_VERSION_INFO_FOR_CURRENT_MODULE());
if (version_info.get()) {
FileVersionInfoWin* version_info_win =
« no previous file with comments | « chrome/chrome_watcher/chrome_watcher_main.cc ('k') | cloud_print/virtual_driver/win/install/setup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698