MetricsService 21 base/threading/thread_restrictions.h class MetricsService; MetricsService 220 base/threading/thread_restrictions.h friend class ::MetricsService; // http://crbug.com/124954 MetricsService 32 chrome/browser/browser_process.h class MetricsService; MetricsService 106 chrome/browser/browser_process.h virtual MetricsService* metrics_service() = 0; MetricsService 370 chrome/browser/browser_process_impl.cc MetricsService* metrics = g_browser_process->metrics_service(); MetricsService 414 chrome/browser/browser_process_impl.cc MetricsService* BrowserProcessImpl::metrics_service() { MetricsService 800 chrome/browser/browser_process_impl.cc metrics_service_.reset(new MetricsService); MetricsService 75 chrome/browser/browser_process_impl.h virtual MetricsService* metrics_service() OVERRIDE; MetricsService 160 chrome/browser/browser_process_impl.h scoped_ptr<MetricsService> metrics_service_; MetricsService 153 chrome/browser/browser_shutdown.cc MetricsService* metrics = g_browser_process->metrics_service(); MetricsService 580 chrome/browser/chrome_browser_main.cc MetricsService* metrics = browser_process_->metrics_service(); MetricsService 581 chrome/browser/chrome_browser_main.cc MetricsService::ReportingState reporting_state = MetricsService 582 chrome/browser/chrome_browser_main.cc IsMetricsReportingEnabled() ? MetricsService::REPORTING_ENABLED : MetricsService 583 chrome/browser/chrome_browser_main.cc MetricsService::REPORTING_DISABLED; MetricsService 584 chrome/browser/chrome_browser_main.cc if (reporting_state == MetricsService::REPORTING_ENABLED) MetricsService 643 chrome/browser/chrome_browser_main.cc MetricsService* metrics = g_browser_process->metrics_service(); MetricsService 1281 chrome/browser/chrome_browser_main.cc MetricsService::SetExecutionPhase(MetricsService::CREATE_PROFILE); MetricsService 1466 chrome/browser/chrome_browser_main.cc MetricsService::SetExecutionPhase(MetricsService::STARTUP_TIMEBOMB_ARM); MetricsService 1474 chrome/browser/chrome_browser_main.cc MetricsService::LogNeedForCleanShutdown(); MetricsService 1488 chrome/browser/chrome_browser_main.cc MetricsService::SetExecutionPhase(MetricsService::THREAD_WATCHER_START); MetricsService 1646 chrome/browser/chrome_browser_main.cc MetricsService::SetExecutionPhase(MetricsService::MAIN_MESSAGE_LOOP_RUN); MetricsService 1663 chrome/browser/chrome_browser_main.cc MetricsService::SetExecutionPhase(MetricsService::SHUTDOWN_TIMEBOMB_ARM); MetricsService 1709 chrome/browser/chrome_browser_main.cc CHECK(MetricsService::UmaMetricsProperlyShutdown()); MetricsService 24 chrome/browser/chrome_browser_main.h class MetricsService; MetricsService 41 chrome/browser/metrics/cloned_install_detector_unittest.cc MetricsService::RegisterPrefs(prefs.registry()); MetricsService 349 chrome/browser/metrics/metrics_service.cc MetricsService::SHUTDOWN_COMPLETE); MetricsService 371 chrome/browser/metrics/metrics_service.cc MetricsService::ShutdownCleanliness MetricsService::clean_shutdown_status_ = MetricsService 372 chrome/browser/metrics/metrics_service.cc MetricsService::CLEANLY_SHUTDOWN; MetricsService 374 chrome/browser/metrics/metrics_service.cc MetricsService::ExecutionPhase MetricsService::execution_phase_ = MetricsService 375 chrome/browser/metrics/metrics_service.cc MetricsService::UNINITIALIZED_PHASE; MetricsService 381 chrome/browser/metrics/metrics_service.cc struct MetricsService::ChildProcessStats { MetricsService 436 chrome/browser/metrics/metrics_service.cc void MetricsService::RegisterPrefs(PrefRegistrySimple* registry) { MetricsService 498 chrome/browser/metrics/metrics_service.cc void MetricsService::DiscardOldStabilityStats(PrefService* local_state) { MetricsService 529 chrome/browser/metrics/metrics_service.cc MetricsService::MetricsService() MetricsService 553 chrome/browser/metrics/metrics_service.cc MetricsService::~MetricsService() { MetricsService 559 chrome/browser/metrics/metrics_service.cc void MetricsService::InitializeMetricsRecordingState( MetricsService 563 chrome/browser/metrics/metrics_service.cc base::Closure callback = base::Bind(&MetricsService::StartScheduledUpload, MetricsService 568 chrome/browser/metrics/metrics_service.cc void MetricsService::Start() { MetricsService 574 chrome/browser/metrics/metrics_service.cc void MetricsService::StartRecordingForTests() { MetricsService 580 chrome/browser/metrics/metrics_service.cc void MetricsService::Stop() { MetricsService 586 chrome/browser/metrics/metrics_service.cc void MetricsService::EnableReporting() { MetricsService 593 chrome/browser/metrics/metrics_service.cc void MetricsService::DisableReporting() { MetricsService 597 chrome/browser/metrics/metrics_service.cc std::string MetricsService::GetClientId() { MetricsService 602 chrome/browser/metrics/metrics_service.cc MetricsService::CreateEntropyProvider(ReportingState reporting_state) { MetricsService 640 chrome/browser/metrics/metrics_service.cc void MetricsService::ForceClientIdCreation() { MetricsService 664 chrome/browser/metrics/metrics_service.cc void MetricsService::EnableRecording() { MetricsService 678 chrome/browser/metrics/metrics_service.cc action_callback_ = base::Bind(&MetricsService::OnUserAction, MetricsService 683 chrome/browser/metrics/metrics_service.cc void MetricsService::DisableRecording() { MetricsService 696 chrome/browser/metrics/metrics_service.cc bool MetricsService::recording_active() const { MetricsService 701 chrome/browser/metrics/metrics_service.cc bool MetricsService::reporting_active() const { MetricsService 707 chrome/browser/metrics/metrics_service.cc void MetricsService::SetUpNotifications( MetricsService 730 chrome/browser/metrics/metrics_service.cc void MetricsService::BrowserChildProcessHostConnected( MetricsService 735 chrome/browser/metrics/metrics_service.cc void MetricsService::BrowserChildProcessCrashed( MetricsService 744 chrome/browser/metrics/metrics_service.cc void MetricsService::BrowserChildProcessInstanceCreated( MetricsService 749 chrome/browser/metrics/metrics_service.cc void MetricsService::Observe(int type, MetricsService 824 chrome/browser/metrics/metrics_service.cc void MetricsService::HandleIdleSinceLastTransmission(bool in_idle) { MetricsService 833 chrome/browser/metrics/metrics_service.cc void MetricsService::RecordStartOfSessionEnd() { MetricsService 838 chrome/browser/metrics/metrics_service.cc void MetricsService::RecordCompletedSessionEnd() { MetricsService 844 chrome/browser/metrics/metrics_service.cc void MetricsService::OnAppEnterBackground() { MetricsService 862 chrome/browser/metrics/metrics_service.cc void MetricsService::OnAppEnterForeground() { MetricsService 869 chrome/browser/metrics/metrics_service.cc void MetricsService::LogNeedForCleanShutdown() { MetricsService 878 chrome/browser/metrics/metrics_service.cc void MetricsService::SetExecutionPhase(ExecutionPhase execution_phase) { MetricsService 884 chrome/browser/metrics/metrics_service.cc void MetricsService::RecordBreakpadRegistration(bool success) { MetricsService 891 chrome/browser/metrics/metrics_service.cc void MetricsService::RecordBreakpadHasDebugger(bool has_debugger) { MetricsService 899 chrome/browser/metrics/metrics_service.cc void MetricsService::CountBrowserCrashDumpAttempts() { MetricsService 958 chrome/browser/metrics/metrics_service.cc void MetricsService::InitializeMetricsState(ReportingState reporting_state) { MetricsService 1069 chrome/browser/metrics/metrics_service.cc void MetricsService::InitTaskGetHardwareClass( MetricsService 1070 chrome/browser/metrics/metrics_service.cc base::WeakPtr<MetricsService> self, MetricsService 1081 chrome/browser/metrics/metrics_service.cc base::Bind(&MetricsService::OnInitTaskGotHardwareClass, MetricsService 1085 chrome/browser/metrics/metrics_service.cc void MetricsService::OnInitTaskGotHardwareClass( MetricsService 1093 chrome/browser/metrics/metrics_service.cc base::Bind(&MetricsService::OnInitTaskGotPluginInfo, MetricsService 1101 chrome/browser/metrics/metrics_service.cc void MetricsService::OnInitTaskGotPluginInfo( MetricsService 1110 chrome/browser/metrics/metrics_service.cc base::Bind(&MetricsService::InitTaskGetGoogleUpdateData, MetricsService 1116 chrome/browser/metrics/metrics_service.cc void MetricsService::InitTaskGetGoogleUpdateData( MetricsService 1117 chrome/browser/metrics/metrics_service.cc base::WeakPtr<MetricsService> self, MetricsService 1138 chrome/browser/metrics/metrics_service.cc base::Bind(&MetricsService::OnInitTaskGotGoogleUpdateData, MetricsService 1142 chrome/browser/metrics/metrics_service.cc void MetricsService::OnInitTaskGotGoogleUpdateData( MetricsService 1154 chrome/browser/metrics/metrics_service.cc void MetricsService::OnUserAction(const std::string& action) { MetricsService 1162 chrome/browser/metrics/metrics_service.cc void MetricsService::ReceivedProfilerData( MetricsService 1175 chrome/browser/metrics/metrics_service.cc void MetricsService::FinishedReceivingProfilerData() { MetricsService 1181 chrome/browser/metrics/metrics_service.cc void MetricsService::GetUptimes(PrefService* pref, MetricsService 1203 chrome/browser/metrics/metrics_service.cc void MetricsService::ResetMetricsIDsIfNecessary() { MetricsService 1223 chrome/browser/metrics/metrics_service.cc int MetricsService::GetLowEntropySource() { MetricsService 1257 chrome/browser/metrics/metrics_service.cc std::string MetricsService::GenerateClientID() { MetricsService 1264 chrome/browser/metrics/metrics_service.cc void MetricsService::ScheduleNextStateSave() { MetricsService 1268 chrome/browser/metrics/metrics_service.cc base::Bind(&MetricsService::SaveLocalState, MetricsService 1273 chrome/browser/metrics/metrics_service.cc void MetricsService::SaveLocalState() { MetricsService 1290 chrome/browser/metrics/metrics_service.cc void MetricsService::OpenNewLog() { MetricsService 1306 chrome/browser/metrics/metrics_service.cc base::Bind(&MetricsService::InitTaskGetHardwareClass, MetricsService 1313 chrome/browser/metrics/metrics_service.cc void MetricsService::CloseCurrentLog() { MetricsService 1352 chrome/browser/metrics/metrics_service.cc void MetricsService::PushPendingLogsToPersistentStorage() { MetricsService 1378 chrome/browser/metrics/metrics_service.cc void MetricsService::StartSchedulerIfNecessary() { MetricsService 1392 chrome/browser/metrics/metrics_service.cc void MetricsService::StartScheduledUpload() { MetricsService 1431 chrome/browser/metrics/metrics_service.cc void MetricsService::StartFinalLogInfoCollection() { MetricsService 1441 chrome/browser/metrics/metrics_service.cc base::Bind(&MetricsService::OnMemoryDetailCollectionDone, MetricsService 1455 chrome/browser/metrics/metrics_service.cc void MetricsService::OnMemoryDetailCollectionDone() { MetricsService 1463 chrome/browser/metrics/metrics_service.cc &MetricsService::OnHistogramSynchronizationDone, MetricsService 1494 chrome/browser/metrics/metrics_service.cc void MetricsService::OnHistogramSynchronizationDone() { MetricsService 1509 chrome/browser/metrics/metrics_service.cc void MetricsService::OnFinalLogInfoCollectionDone() { MetricsService 1541 chrome/browser/metrics/metrics_service.cc void MetricsService::StageNewLog() { MetricsService 1591 chrome/browser/metrics/metrics_service.cc void MetricsService::PrepareInitialStabilityLog() { MetricsService 1621 chrome/browser/metrics/metrics_service.cc void MetricsService::PrepareInitialMetricsLog(MetricsLog::LogType log_type) { MetricsService 1651 chrome/browser/metrics/metrics_service.cc void MetricsService::SendStagedLog() { MetricsService 1674 chrome/browser/metrics/metrics_service.cc void MetricsService::PrepareFetchWithStagedLog() { MetricsService 1715 chrome/browser/metrics/metrics_service.cc void MetricsService::OnURLFetchComplete(const net::URLFetcher* source) { MetricsService 1815 chrome/browser/metrics/metrics_service.cc void MetricsService::IncrementPrefValue(const char* path) { MetricsService 1822 chrome/browser/metrics/metrics_service.cc void MetricsService::IncrementLongPrefsValue(const char* path) { MetricsService 1829 chrome/browser/metrics/metrics_service.cc void MetricsService::LogLoadStarted(content::WebContents* web_contents) { MetricsService 1838 chrome/browser/metrics/metrics_service.cc void MetricsService::LogRendererCrash(content::RenderProcessHost* host, MetricsService 1869 chrome/browser/metrics/metrics_service.cc void MetricsService::LogRendererHang() { MetricsService 1873 chrome/browser/metrics/metrics_service.cc bool MetricsService::UmaMetricsProperlyShutdown() { MetricsService 1879 chrome/browser/metrics/metrics_service.cc void MetricsService::RegisterSyntheticFieldTrial( MetricsService 1896 chrome/browser/metrics/metrics_service.cc void MetricsService::CheckForClonedInstall() { MetricsService 1911 chrome/browser/metrics/metrics_service.cc void MetricsService::GetCurrentSyntheticFieldTrials( MetricsService 1923 chrome/browser/metrics/metrics_service.cc void MetricsService::LogCleanShutdown() { MetricsService 1934 chrome/browser/metrics/metrics_service.cc MetricsService::SHUTDOWN_COMPLETE); MetricsService 1938 chrome/browser/metrics/metrics_service.cc void MetricsService::LogChromeOSCrash(const std::string &crash_type) { MetricsService 1953 chrome/browser/metrics/metrics_service.cc void MetricsService::LogPluginLoadingError(const base::FilePath& plugin_path) { MetricsService 1971 chrome/browser/metrics/metrics_service.cc MetricsService::ChildProcessStats& MetricsService::GetChildProcessStats( MetricsService 1981 chrome/browser/metrics/metrics_service.cc void MetricsService::RecordPluginChanges(PrefService* pref) { MetricsService 2070 chrome/browser/metrics/metrics_service.cc bool MetricsService::ShouldLogEvents() { MetricsService 2077 chrome/browser/metrics/metrics_service.cc void MetricsService::RecordBooleanPrefValue(const char* path, bool value) { MetricsService 2087 chrome/browser/metrics/metrics_service.cc void MetricsService::RecordCurrentState(PrefService* pref) { MetricsService 2094 chrome/browser/metrics/metrics_service.cc bool MetricsService::IsPluginProcess(int process_type) { MetricsService 2101 chrome/browser/metrics/metrics_service.cc void MetricsService::StartExternalMetrics() { MetricsService 102 chrome/browser/metrics/metrics_service.h friend class MetricsService; MetricsService 111 chrome/browser/metrics/metrics_service.h class MetricsService MetricsService 135 chrome/browser/metrics/metrics_service.h MetricsService(); MetricsService 136 chrome/browser/metrics/metrics_service.h virtual ~MetricsService(); MetricsService 330 chrome/browser/metrics/metrics_service.h static void InitTaskGetHardwareClass(base::WeakPtr<MetricsService> self, MetricsService 344 chrome/browser/metrics/metrics_service.h static void InitTaskGetGoogleUpdateData(base::WeakPtr<MetricsService> self, MetricsService 602 chrome/browser/metrics/metrics_service.h base::WeakPtrFactory<MetricsService> self_ptr_factory_; MetricsService 606 chrome/browser/metrics/metrics_service.h base::WeakPtrFactory<MetricsService> state_saver_factory_; MetricsService 656 chrome/browser/metrics/metrics_service.h DISALLOW_COPY_AND_ASSIGN(MetricsService); MetricsService 35 chrome/browser/metrics/metrics_service_android.cc void MetricsService::RegisterPrefsAndroid(PrefRegistrySimple* registry) { MetricsService 43 chrome/browser/metrics/metrics_service_android.cc void MetricsService::LogAndroidStabilityToPrefs(PrefService* pref) { MetricsService 74 chrome/browser/metrics/metrics_service_android.cc void MetricsService::ConvertAndroidStabilityPrefsToHistograms( MetricsService 109 chrome/browser/metrics/metrics_service_android.cc void MetricsService::OnForegroundActivityChanged(PrefService* pref, MetricsService 133 chrome/browser/metrics/metrics_service_android.cc void MetricsService::DiscardOldStabilityStatsAndroid(PrefService* local_state) { MetricsService 122 chrome/browser/metrics/metrics_service_browsertest.cc EXPECT_EQ(MetricsService::LAST_ENTROPY_LOW, MetricsService 132 chrome/browser/metrics/metrics_service_browsertest.cc EXPECT_EQ(MetricsService::LAST_ENTROPY_HIGH, MetricsService 29 chrome/browser/metrics/metrics_service_unittest.cc class TestMetricsService : public MetricsService { MetricsService 91 chrome/browser/metrics/metrics_service_unittest.cc MetricsService::SetExecutionPhase(MetricsService::UNINITIALIZED_PHASE); MetricsService 134 chrome/browser/metrics/metrics_service_unittest.cc std::string clientid = MetricsService::GenerateClientID(); MetricsService 148 chrome/browser/metrics/metrics_service_unittest.cc MetricsService::IsPluginProcess(content::PROCESS_TYPE_PLUGIN)); MetricsService 150 chrome/browser/metrics/metrics_service_unittest.cc MetricsService::IsPluginProcess(content::PROCESS_TYPE_PPAPI_PLUGIN)); MetricsService 152 chrome/browser/metrics/metrics_service_unittest.cc MetricsService::IsPluginProcess(content::PROCESS_TYPE_GPU)); MetricsService 156 chrome/browser/metrics/metrics_service_unittest.cc MetricsService service; MetricsService 178 chrome/browser/metrics/metrics_service_unittest.cc MetricsService::SetExecutionPhase(MetricsService::UNINITIALIZED_PHASE); MetricsService 179 chrome/browser/metrics/metrics_service_unittest.cc MetricsService service; MetricsService 192 chrome/browser/metrics/metrics_service_unittest.cc MetricsService::SetExecutionPhase(MetricsService::UNINITIALIZED_PHASE); MetricsService 193 chrome/browser/metrics/metrics_service_unittest.cc MetricsService service; MetricsService 206 chrome/browser/metrics/metrics_service_unittest.cc MetricsService::SetExecutionPhase(MetricsService::UNINITIALIZED_PHASE); MetricsService 207 chrome/browser/metrics/metrics_service_unittest.cc MetricsService service; MetricsService 221 chrome/browser/metrics/metrics_service_unittest.cc service.InitializeMetricsRecordingState(MetricsService::REPORTING_ENABLED); MetricsService 252 chrome/browser/metrics/metrics_service_unittest.cc service.InitializeMetricsRecordingState(MetricsService::REPORTING_ENABLED); MetricsService 279 chrome/browser/metrics/metrics_service_unittest.cc MetricsService service; MetricsService 389 chrome/browser/metrics/metrics_service_unittest.cc MetricsService service; MetricsService 401 chrome/browser/metrics/metrics_service_unittest.cc MetricsService service; MetricsService 772 chrome/browser/metrics/thread_watcher.cc MetricsService::SetUpNotifications(&observer->registrar_, observer); MetricsService 244 chrome/browser/prefs/browser_prefs.cc MetricsService::RegisterPrefs(registry); MetricsService 72 chrome/browser/safe_browsing/ui_manager.cc const MetricsService* metrics = g_browser_process->metrics_service(); MetricsService 28 chrome/browser/ui/options/options_util.cc MetricsService* metrics = g_browser_process->metrics_service(); MetricsService 98 chrome/test/base/testing_browser_process.cc MetricsService* TestingBrowserProcess::metrics_service() { MetricsService 59 chrome/test/base/testing_browser_process.h virtual MetricsService* metrics_service() OVERRIDE;