OLD | NEW |
(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 "extensions/browser/api/extensions_api_client.h" |
| 6 |
| 7 namespace extensions { |
| 8 namespace { |
| 9 |
| 10 ExtensionsApiClient* g_instance = NULL; |
| 11 |
| 12 } // namespace |
| 13 |
| 14 ExtensionsApiClient::ExtensionsApiClient() { |
| 15 g_instance = this; |
| 16 } |
| 17 |
| 18 ExtensionsApiClient::~ExtensionsApiClient() { |
| 19 g_instance = NULL; |
| 20 } |
| 21 |
| 22 // static |
| 23 ExtensionsApiClient* ExtensionsApiClient::Get() { return g_instance; } |
| 24 |
| 25 void ExtensionsApiClient::AddAdditionalValueStoreCaches( |
| 26 content::BrowserContext* context, |
| 27 scoped_refptr<SettingsStorageFactory> factory, |
| 28 scoped_refptr<ObserverListThreadSafe<SettingsObserver> > observers, |
| 29 std::map<settings_namespace::Namespace, ValueStoreCache*>* caches) {} |
| 30 |
| 31 } // namespace extensions |
OLD | NEW |