[email protected] | 10b132b0 | 2012-07-27 20:46:18 | [diff] [blame] | 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. | ||||
4 | |||||
5 | #include "chrome/browser/ui/browser_otr_state.h" | ||||
6 | |||||
7 | #include "chrome/browser/ui/browser_list.h" | ||||
8 | |||||
[email protected] | e764e58 | 2012-08-01 03:01:29 | [diff] [blame] | 9 | namespace chrome { |
[email protected] | 10b132b0 | 2012-07-27 20:46:18 | [diff] [blame] | 10 | |
trizzofo | fc061d0 | 2016-07-07 00:51:21 | [diff] [blame] | 11 | bool IsIncognitoSessionActive() { |
Ramin Halavati | 8e2ec8e | 2020-06-11 15:29:48 | [diff] [blame^] | 12 | return BrowserList::IsOffTheRecordBrowserActive(); |
[email protected] | 10b132b0 | 2012-07-27 20:46:18 | [diff] [blame] | 13 | } |
14 | |||||
[email protected] | e764e58 | 2012-08-01 03:01:29 | [diff] [blame] | 15 | } // namespace chrome |