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 "components/keyed_service/ios/browser_state_context_converter.h"
9 // Global BrowserStateContextConverter* instance, may be null.
10 BrowserStateContextConverter
* g_browser_state_context_converter
= nullptr;
15 void BrowserStateContextConverter::SetInstance(
16 BrowserStateContextConverter
* instance
) {
17 g_browser_state_context_converter
= instance
;
20 BrowserStateContextConverter
* BrowserStateContextConverter::GetInstance() {
21 return g_browser_state_context_converter
;
24 BrowserStateContextConverter::BrowserStateContextConverter() {
27 BrowserStateContextConverter::~BrowserStateContextConverter() {