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() { g_instance = this; } |
| 15 |
| 16 ExtensionsAPIClient::~ExtensionsAPIClient() { g_instance = NULL; } |
| 17 |
| 18 // static |
| 19 ExtensionsAPIClient* ExtensionsAPIClient::Get() { return g_instance; } |
| 20 |
| 21 void ExtensionsAPIClient::AddAdditionalValueStoreCaches( |
| 22 content::BrowserContext* context, |
| 23 const scoped_refptr<SettingsStorageFactory>& factory, |
| 24 const scoped_refptr<ObserverListThreadSafe<SettingsObserver> >& observers, |
| 25 std::map<settings_namespace::Namespace, ValueStoreCache*>* caches) {} |
| 26 |
| 27 } // namespace extensions |
OLD | NEW |