| Index: components/metrics/metrics_service.cc
|
| diff --git a/components/metrics/metrics_service.cc b/components/metrics/metrics_service.cc
|
| index f73b04992a8f35bd4abea2b7bf1de6ef4e4f0faf..2acc9cb0b88cbec1f0538b42147f7c800af98958 100644
|
| --- a/components/metrics/metrics_service.cc
|
| +++ b/components/metrics/metrics_service.cc
|
| @@ -654,9 +654,6 @@ void MetricsService::InitializeMetricsState() {
|
| }
|
|
|
| void MetricsService::OnUserAction(const std::string& action) {
|
| - if (!ShouldLogEvents())
|
| - return;
|
| -
|
| log_manager_.current_log()->RecordUserAction(action);
|
| HandleIdleSinceLastTransmission(false);
|
| }
|
| @@ -1200,13 +1197,6 @@ void MetricsService::LogCleanShutdown() {
|
| MetricsService::SHUTDOWN_COMPLETE);
|
| }
|
|
|
| -bool MetricsService::ShouldLogEvents() {
|
| - // We simply don't log events to UMA if there is a single incognito
|
| - // session visible. The problem is that we always notify using the original
|
| - // profile in order to simplify notification processing.
|
| - return !client_->IsOffTheRecordSessionActive();
|
| -}
|
| -
|
| void MetricsService::RecordBooleanPrefValue(const char* path, bool value) {
|
| DCHECK(IsSingleThreaded());
|
| local_state_->SetBoolean(path, value);
|
|
|