| Index: chrome/browser/metrics/metrics_service.cc
|
| diff --git a/chrome/browser/metrics/metrics_service.cc b/chrome/browser/metrics/metrics_service.cc
|
| index a688d419ef6efe9ea3861291daa5725afa74a949..953f39b3bb86a1911cb94be1b3bae6ea25649430 100644
|
| --- a/chrome/browser/metrics/metrics_service.cc
|
| +++ b/chrome/browser/metrics/metrics_service.cc
|
| @@ -179,6 +179,7 @@
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/search_engines/template_url_service.h"
|
| #include "chrome/browser/ui/browser_list.h"
|
| +#include "chrome/browser/ui/browser_otr_state.h"
|
| #include "chrome/common/child_process_logging.h"
|
| #include "chrome/common/chrome_notification_types.h"
|
| #include "chrome/common/chrome_result_codes.h"
|
| @@ -1863,7 +1864,7 @@ bool MetricsService::CanLogNotification(
|
| // We simply don't log anything to UMA if there is a single incognito
|
| // session visible. The problem is that we always notify using the orginal
|
| // profile in order to simplify notification processing.
|
| - return !BrowserList::IsOffTheRecordSessionActive();
|
| + return !browser::IsOffTheRecordSessionActive();
|
| }
|
|
|
| void MetricsService::RecordBooleanPrefValue(const char* path, bool value) {
|
|
|