Revert "Fix broken channel icon in chrome://help on CrOS" and try again
[chromium-blink-merge.git] / ios / chrome / browser / application_context.cc
blob8cdff1c0c8121928314cc22cab6e8169b1eaa771
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/chrome/browser/application_context.h"
7 #include "base/logging.h"
9 namespace {
10 // Global ApplicationContext instance.
11 ApplicationContext* g_application_context = nullptr;
14 ApplicationContext* GetApplicationContext() {
15 return g_application_context;
18 ApplicationContext::ApplicationContext() {
21 ApplicationContext::~ApplicationContext() {
24 // static
25 void ApplicationContext::SetApplicationContext(ApplicationContext* context) {
26 g_application_context = context;