Home
last modified time | relevance | path

Searched refs:MetricsLog (Results 1 – 8 of 8) sorted by relevance

/external/chromium/chrome/browser/metrics/
Dmetrics_log.cc37 MetricsLog::MetricsLog(const std::string& client_id, int session_id) in MetricsLog() function in MetricsLog
38 : MetricsLogBase(client_id, session_id, MetricsLog::GetVersionString()) {} in MetricsLog()
40 MetricsLog::~MetricsLog() {} in ~MetricsLog()
43 void MetricsLog::RegisterPrefs(PrefService* local_state) { in RegisterPrefs()
47 int64 MetricsLog::GetIncrementalUptime(PrefService* pref) { in GetIncrementalUptime()
62 std::string MetricsLog::GetInstallDate() const { in GetInstallDate()
73 std::string MetricsLog::GetVersionString() { in GetVersionString()
88 MetricsLog* MetricsLog::AsMetricsLog() { in AsMetricsLog()
92 void MetricsLog::RecordIncrementalStabilityElements() { in RecordIncrementalStabilityElements()
112 void MetricsLog::WriteStabilityElement(PrefService* pref) { in WriteStabilityElement()
[all …]
Dmetrics_log_unittest.cc48 "appversion=\"%s\"/>", MetricsLog::GetVersionString().c_str()); in TEST()
50 MetricsLog log("bogus client ID", 0); in TEST()
71 MetricsLog::GetVersionString().c_str()); in TEST()
73 MetricsLog log("bogus client ID", 0); in TEST()
93 class NoTimeMetricsLog : public MetricsLog {
96 MetricsLog(client_id, session_id) {} in NoTimeMetricsLog()
117 "</log>", MetricsLog::GetVersionString().c_str()); in TEST()
120 log.RecordWindowEvent(MetricsLog::WINDOW_CREATE, 0, -1); in TEST()
121 log.RecordWindowEvent(MetricsLog::WINDOW_OPEN, 1, 0); in TEST()
122 log.RecordWindowEvent(MetricsLog::WINDOW_CLOSE, 1, 0); in TEST()
[all …]
Dmetrics_log.h27 class MetricsLog : public MetricsLogBase {
32 MetricsLog(const std::string& client_id, int session_id);
33 virtual ~MetricsLog();
64 virtual MetricsLog* AsMetricsLog();
106 DISALLOW_COPY_AND_ASSIGN(MetricsLog);
Dmetrics_service.cc642 MetricsLog* current_log = current_log_->AsMetricsLog(); in Observe()
719 != MetricsLog::GetBuildTime()) || in InitializeMetricsState()
721 != MetricsLog::GetVersionString())) { in InitializeMetricsState()
726 MetricsLog::GetVersionString()); in InitializeMetricsState()
728 MetricsLog::GetBuildTime()); in InitializeMetricsState()
753 int64 startup_uptime = MetricsLog::GetIncrementalUptime(pref); in InitializeMetricsState()
849 current_log_ = new MetricsLog(client_id_, session_id_); in StartRecording()
887 MetricsLog* current_log = current_log_->AsMetricsLog(); in StopRecording()
1151 MetricsLog* log = new MetricsLog(client_id_, session_id_); in PrepareInitialLog()
1469 MetricsLog::WindowEventType window_type; in LogWindowChange()
[all …]
/external/chromium/chrome/common/
Dmetrics_helpers.h22 class MetricsLog; variable
102 virtual MetricsLog* AsMetricsLog();
Dmetrics_helpers.cc382 MetricsLog* MetricsLogBase::AsMetricsLog() { in AsMetricsLog()
/external/chromium/chrome/browser/prefs/
Dbrowser_prefs.cc93 MetricsLog::RegisterPrefs(local_state); in RegisterLocalState()
/external/chromium/chrome/browser/
Dbrowser_main.cc780 MetricsLog::set_version_extension("-F"); in InitializeMetrics()
782 MetricsLog::set_version_extension("-64"); in InitializeMetrics()