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/browser_main.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/browser_main.cc')
-rw-r--r-- | chrome/browser/browser_main.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc index 9554f9f..7448200 100644 --- a/chrome/browser/browser_main.cc +++ b/chrome/browser/browser_main.cc @@ -978,6 +978,8 @@ int BrowserMain(const MainFunctionParams& parameters) { // the main message loop. if (browser_init.Start(parsed_command_line, std::wstring(), profile, &result_code)) { + // Record now as the last succesful chrome start. + GoogleUpdateSettings::SetLastRunTime(); // Call Recycle() here as late as possible, before going into the loop // because Start() will add things to it while creating the main window. if (pool) |