Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: components/keyed_service/ios/browser_state_context_converter.cc

Issue 1090373003: Allow cross dependencies between BCKSF and BSKSF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove wrapper methods Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #include "components/keyed_service/ios/browser_state_context_converter.h"
6
7 namespace {
8
9 // Global BrowserStateContextConverter* instance, may be null.
10 BrowserStateContextConverter* g_browser_state_context_converter = nullptr;
11
12 } // namespace
13
14 // static
15 void BrowserStateContextConverter::SetInstance(
16 BrowserStateContextConverter* instance) {
17 g_browser_state_context_converter = instance;
18 }
19
20 BrowserStateContextConverter* BrowserStateContextConverter::GetInstance() {
21 return g_browser_state_context_converter;
22 }
23
24 BrowserStateContextConverter::BrowserStateContextConverter() {
25 }
26
27 BrowserStateContextConverter::~BrowserStateContextConverter() {
28 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698