Add a UsbService::Observer function for cleanup actions.
[chromium-blink-merge.git] / extensions / browser / extensions_browser_client.cc
blobce89b9c9452f9783d98b057191acc9a10e0edde5
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.
5 #include "extensions/browser/extensions_browser_client.h"
7 #include "base/basictypes.h"
9 namespace extensions {
11 namespace {
13 ExtensionsBrowserClient* g_client = NULL;
15 } // namespace
17 ExtensionsBrowserClient* ExtensionsBrowserClient::Get() {
18 return g_client;
21 void ExtensionsBrowserClient::Set(ExtensionsBrowserClient* client) {
22 g_client = client;
25 } // namespace extensions