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

Unified Diff: chrome/installer/util/user_experiment.cc

Issue 606473002: Remove implicit HANDLE conversions from chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove spurious file and fix indent (+rebase) Created 6 years, 3 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/installer/util/installer_state_unittest.cc ('k') | chrome/service/cloud_print/cdd_conversion_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/user_experiment.cc
diff --git a/chrome/installer/util/user_experiment.cc b/chrome/installer/util/user_experiment.cc
index 68e4eace8a6fd53696d4afc61ae0b50b79d1b572..430fd4794921f13d87b8d6888b6c6ae5cc028d07 100644
--- a/chrome/installer/util/user_experiment.cc
+++ b/chrome/installer/util/user_experiment.cc
@@ -84,7 +84,8 @@ int GetDirectoryWriteTimeInHours(const wchar_t* path) {
return -1;
FILETIME time;
- return ::GetFileTime(file, NULL, NULL, &time) ? FileTimeToHours(time) : -1;
+ return ::GetFileTime(file.Get(), NULL, NULL, &time) ?
+ FileTimeToHours(time) : -1;
}
// Returns the time in hours since the last write to the user data directory.
@@ -513,7 +514,7 @@ void InactiveUserToastExperiment(int flavor,
break;
default:
outcome = kToastExpTriesErrorGroup;
- };
+ }
// Write to the |client| key for the last time.
SetClient(experiment_group + outcome, true);
« no previous file with comments | « chrome/installer/util/installer_state_unittest.cc ('k') | chrome/service/cloud_print/cdd_conversion_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698