1 // Copyright 2013 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 "extensions/browser/extensions_browser_client.h" 6 7 #include "base/basictypes.h" 8 9 namespace extensions { 10 11 namespace { 12 13 ExtensionsBrowserClient* g_client = NULL; 14 15 } // namespace 16 17 ExtensionsBrowserClient* ExtensionsBrowserClient::Get() { 18 return g_client; 19 } 20 21 void ExtensionsBrowserClient::Set(ExtensionsBrowserClient* client) { 22 g_client = client; 23 } 24 25 } // namespace extensions 26