Lines Matching defs:MetricsService
6 // Description of the life cycle of a instance of MetricsService.
10 // A MetricsService instance is created at ChromeFrame startup in
13 // Currently only histogram data is tracked in log. When MetricsService
19 // basically means that the thread on which the MetricsService object is
75 base::LazyInstance<base::ThreadLocalPointer<MetricsService> >
76 MetricsService::g_metrics_instance_ = LAZY_INSTANCE_INITIALIZER;
78 std::string MetricsService::client_id_;
80 base::Lock MetricsService::metrics_service_lock_;
233 MetricsService* MetricsService::GetInstance() {
237 g_metrics_instance_.Pointer()->Set(new MetricsService);
241 MetricsService::MetricsService()
251 MetricsService::~MetricsService() {
255 void MetricsService::InitializeMetricsState() {
270 void MetricsService::Start() {
282 void MetricsService::Stop() {
289 void MetricsService::SetRecording(bool enabled) {
303 const std::string& MetricsService::GetClientID() {
324 void CALLBACK MetricsService::TransmissionTimerProc(HWND window,
342 void MetricsService::SetReporting(bool enable) {
362 void MetricsService::StartRecording() {
377 void MetricsService::StopRecording(bool save_log) {
397 void MetricsService::MakePendingLog() {
411 bool MetricsService::TransmissionPermitted() const {
417 bool MetricsService::UploadData() {
448 std::string MetricsService::GetVersionString() {