Add chromium_builder_lkgr_drmemory_win target for LKGR DrMemory build on ClusterFuzz
[chromium-blink-merge.git] / extensions / renderer / extensions_renderer_client.cc
blob91c5aeb9572e12cc225051b91745c7636aeb1e25
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 "extensions/renderer/extensions_renderer_client.h"
7 #include "base/basictypes.h"
8 #include "base/logging.h"
10 namespace extensions {
12 namespace {
14 ExtensionsRendererClient* g_client = NULL;
16 } // namespace
18 ExtensionsRendererClient* ExtensionsRendererClient::Get() {
19 CHECK(g_client);
20 return g_client;
23 void ExtensionsRendererClient::Set(ExtensionsRendererClient* client) {
24 g_client = client;
27 } // namespace extensions