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

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: 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 d74c1cdba55efa25ff9832543affa69897642b4d..ea9155c6e7e95c07768ecb4d853a3cda5e217c30 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,9 @@ class ChromeExtensionsBrowserClient : public ExtensionsBrowserClient {
// Observer for Chrome-specific notifications.
ChromeNotificationObserver notification_observer_;
+ // Client for API implementations.
+ scoped_ptr<ChromeExtensionsApiClient> api_client_;
Devlin 2014/03/03 17:07:59 Would it make sense to put this in ExtensionsBrows
James Cook 2014/03/03 19:53:09 Unless you feel strongly I'd like to keep it here.
Devlin 2014/03/03 20:25:27 I don't feel strongly at all, so this is fine. Bu
Yoyo Zhou 2014/03/04 19:55:04 Do we want to be able to handle ExtensionsApiClien
+
DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient);
};

Powered by Google App Engine
This is Rietveld 408576698