[Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled.
[chromium-blink-merge.git] / chrome / browser / ui / browser_otr_state.cc
blobcacf406f982ad7e305345880aa83fb8f6b769102
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/ui/browser_otr_state.h"
7 #include "chrome/browser/ui/browser_list.h"
9 namespace chrome {
11 bool IsOffTheRecordSessionActive() {
12 return BrowserList::IsOffTheRecordSessionActive();
15 } // namespace chrome