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

Unified Diff: chrome/browser/extensions/chrome_extensions_browser_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 windows (delegate_storage_api) 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 1d3ea4a6059a53903dfaca08f259c88d0fa911fb..066a74ea9dc62edf22126a108c92230b2c708000 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.
//
@@ -76,6 +78,12 @@ class ChromeExtensionsBrowserClient : public ExtensionsBrowserClient {
// Observer for Chrome-specific notifications.
ChromeNotificationObserver notification_observer_;
+// Android builds chrome/browser/extensions but not c/b/extensions/api.
+#if !defined(OS_ANDROID)
+ // Client for API implementations.
+ scoped_ptr<ChromeExtensionsAPIClient> api_client_;
+#endif
+
DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient);
};

Powered by Google App Engine
This is Rietveld 408576698