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

Side by Side Diff: chrome/browser/extensions/api/chrome_extensions_api_client.h

Issue 180213008: Add ExtensionsApiClient interface, use it in the storage API SettingsFrontend (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android (delegate_storage_api) Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 #ifndef CHROME_BROWSER_EXTENSIONS_API_CHROME_EXTENSIONS_API_CLIENT_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_CHROME_EXTENSIONS_API_CLIENT_H_
7
8 #include "base/compiler_specific.h"
9 #include "extensions/browser/api/extensions_api_client.h"
10
11 namespace extensions {
12
13 // Support for extensions APIs in Chrome.
Yoyo Zhou 2014/03/04 19:55:04 nit: This is more like extra support.
James Cook 2014/03/04 20:55:58 Done.
14 class ChromeExtensionsApiClient : public ExtensionsApiClient {
15 public:
16 ChromeExtensionsApiClient();
17 virtual ~ChromeExtensionsApiClient();
18
19 // ExtensionsApiClient implementation.
20 virtual void AddAdditionalValueStoreCaches(
21 content::BrowserContext* context,
22 scoped_refptr<SettingsStorageFactory> factory,
23 scoped_refptr<ObserverListThreadSafe<SettingsObserver> > observers,
24 std::map<settings_namespace::Namespace, ValueStoreCache*>* caches)
25 OVERRIDE;
26
27 private:
28 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsApiClient);
29 };
30
31 } // namespace extensions
32
33 #endif // CHROME_BROWSER_EXTENSIONS_API_CHROME_EXTENSIONS_API_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698