blob: bcfe9698dd2c455791c554d07fde0a834441fab6 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
namespace web {
class BrowserState;
// Returns the original BrowserState even for incognito states.
web::BrowserState* GetBrowserStateRedirectedInIncognito(
web::BrowserState* browser_state);
// Returns non-null BrowserState even for Incognito contexts so that a
// separate instance of a service is created for the Incognito context.
web::BrowserState* GetBrowserStateOwnInstanceInIncognito(
web::BrowserState* browser_state);