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 #include "ios/public/provider/chrome/browser/browser_state/chrome_browser_state.h"
10 ChromeBrowserState
* ChromeBrowserState::FromBrowserState(
11 web::BrowserState
* browser_state
) {
12 // This is safe; this is the only implementation of BrowserState.
13 return static_cast<ChromeBrowserState
*>(browser_state
);