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

Unified Diff: chrome/browser/ui/browser_init.cc

Issue 8890054: Adding metrics to track browser launches per primary/secondary profile. Adding metrics to track n... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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
Index: chrome/browser/ui/browser_init.cc
===================================================================
--- chrome/browser/ui/browser_init.cc (revision 113419)
+++ chrome/browser/ui/browser_init.cc (working copy)
@@ -47,6 +47,7 @@
#include "chrome/browser/printing/print_dialog_cloud.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_io_data.h"
+#include "chrome/browser/profiles/profile_metrics.h"
#include "chrome/browser/search_engines/template_url.h"
#include "chrome/browser/search_engines/template_url_service.h"
#include "chrome/browser/search_engines/template_url_service_factory.h"
@@ -580,6 +581,8 @@
profile->SetupChromeOSEnterpriseExtensionObserver();
}
#endif
+ FilePath profile_path = profile->GetPath();
+ ProfileMetrics::LogProfileLaunch(profile_path);
sky 2011/12/09 17:46:38 Would this make more sense some where in the profi
rpetterson 2011/12/09 21:22:09 In that case it will only get called once per brow
return true;
}
« chrome/browser/profiles/profile_metrics.cc ('K') | « chrome/browser/profiles/profile_metrics.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698