diff options
author | cpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-28 00:41:04 +0000 |
---|---|---|
committer | cpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-28 00:41:04 +0000 |
commit | fc0979236d0331d382de7db304855f7440906a6c (patch) | |
tree | de2249a482a6f172d4b71a2ae8b9cc513322a8bf /chrome/browser/google_update_settings_posix.cc | |
parent | 5febad256806af6d8369d3161ca1c901c995f124 (diff) | |
download | chromium_src-fc0979236d0331d382de7db304855f7440906a6c.zip chromium_src-fc0979236d0331d382de7db304855f7440906a6c.tar.gz chromium_src-fc0979236d0331d382de7db304855f7440906a6c.tar.bz2 |
Record chrome's startup time, to be used in future retention experiments
- For windows in the registry
- not implemented for posix
BUG=32474
TEST=none
Review URL: http://codereview.chromium.org/558009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37360 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/google_update_settings_posix.cc')
-rw-r--r-- | chrome/browser/google_update_settings_posix.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/chrome/browser/google_update_settings_posix.cc b/chrome/browser/google_update_settings_posix.cc index ff5bb4c..d1ce592 100644 --- a/chrome/browser/google_update_settings_posix.cc +++ b/chrome/browser/google_update_settings_posix.cc @@ -69,3 +69,17 @@ bool GoogleUpdateSettings::SetMetricsId(const std::wstring& client_id) { google_update::posix_guid = WideToASCII(client_id); return GoogleUpdateSettings::SetCollectStatsConsent(true); } + +// GetLastRunTime and SetLastRunTime are not implemented for posix. Their +// currebnt return values signal failure which the caller is designed to +// handle. + +// static +int GoogleUpdateSettings::GetLastRunTime() { + return -1; +} + +// static +bool GoogleUpdateSettings::SetLastRunTime() { + return false; +} |