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

Unified Diff: chrome/browser/extensions/chrome_extensions_browser_client.h

Issue 184853012: Reland: Add ExtensionsApiClient interface, use it in the storage API SettingsFrontend (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase (api_client) 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
Index: chrome/browser/extensions/chrome_extensions_browser_client.h
diff --git a/chrome/browser/extensions/chrome_extensions_browser_client.h b/chrome/browser/extensions/chrome_extensions_browser_client.h
index e93bb0714a85c92616a6afdf7418006aa0bda681..d478f701fe25037f942125844dbe1fa2675978f1 100644
--- a/chrome/browser/extensions/chrome_extensions_browser_client.h
+++ b/chrome/browser/extensions/chrome_extensions_browser_client.h
@@ -20,6 +20,8 @@ class BrowserContext;
namespace extensions {
+class ChromeExtensionsAPIClient;
+
// Implementation of extensions::BrowserClient for Chrome, which includes
// knowledge of Profiles, BrowserContexts and incognito.
//
@@ -78,6 +80,9 @@ class ChromeExtensionsBrowserClient : public ExtensionsBrowserClient {
// Observer for Chrome-specific notifications.
ChromeNotificationObserver notification_observer_;
+ // Client for API implementations.
+ scoped_ptr<ChromeExtensionsAPIClient> api_client_;
+
DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient);
};

Powered by Google App Engine
This is Rietveld 408576698