Revert "Fix broken channel icon in chrome://help on CrOS" and try again
[chromium-blink-merge.git] / ios / chrome / browser / browser_state / browser_state_otr_helper.h
blobbcfe9698dd2c455791c554d07fde0a834441fab6
1 // Copyright 2014 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 #ifndef IOS_CHROME_BROWSER_BROWSER_STATE_BROWSER_STATE_OTR_HELPER_H_
6 #define IOS_CHROME_BROWSER_BROWSER_STATE_BROWSER_STATE_OTR_HELPER_H_
8 namespace web {
9 class BrowserState;
12 // Returns the original BrowserState even for incognito states.
13 web::BrowserState* GetBrowserStateRedirectedInIncognito(
14 web::BrowserState* browser_state);
16 // Returns non-null BrowserState even for Incognito contexts so that a
17 // separate instance of a service is created for the Incognito context.
18 web::BrowserState* GetBrowserStateOwnInstanceInIncognito(
19 web::BrowserState* browser_state);
21 #endif // IOS_CHROME_BROWSER_BROWSER_STATE_BROWSER_STATE_OTR_HELPER_H_