Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: extensions/browser/api/extensions_api_client.cc

Issue 181233011: Revert of Add ExtensionsApiClient interface, use it in the storage API SettingsFrontend (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/browser/api/extensions_api_client.h ('k') | extensions/browser/api/storage/settings_namespace.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/extensions_api_client.cc
diff --git a/extensions/browser/api/extensions_api_client.cc b/extensions/browser/api/extensions_api_client.cc
deleted file mode 100644
index c4f80133a2b7365945045731cb0552a37ae274ca..0000000000000000000000000000000000000000
--- a/extensions/browser/api/extensions_api_client.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "extensions/browser/api/extensions_api_client.h"
-
-namespace extensions {
-namespace {
-
-ExtensionsAPIClient* g_instance = NULL;
-
-} // namespace
-
-ExtensionsAPIClient::ExtensionsAPIClient() { g_instance = this; }
-
-ExtensionsAPIClient::~ExtensionsAPIClient() { g_instance = NULL; }
-
-// static
-ExtensionsAPIClient* ExtensionsAPIClient::Get() { return g_instance; }
-
-void ExtensionsAPIClient::AddAdditionalValueStoreCaches(
- content::BrowserContext* context,
- const scoped_refptr<SettingsStorageFactory>& factory,
- const scoped_refptr<ObserverListThreadSafe<SettingsObserver> >& observers,
- std::map<settings_namespace::Namespace, ValueStoreCache*>* caches) {}
-
-} // namespace extensions
« no previous file with comments | « extensions/browser/api/extensions_api_client.h ('k') | extensions/browser/api/storage/settings_namespace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698