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

Unified Diff: apps/shell/browser/shell_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 android (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: apps/shell/browser/shell_extensions_browser_client.h
diff --git a/apps/shell/browser/shell_extensions_browser_client.h b/apps/shell/browser/shell_extensions_browser_client.h
index d90039456516d4c25f77c76e4559ba4007ed59ca..d5c9d90dd7c9992b3c03043eb99d5d602d5bab01 100644
--- a/apps/shell/browser/shell_extensions_browser_client.h
+++ b/apps/shell/browser/shell_extensions_browser_client.h
@@ -12,6 +12,8 @@ class PrefService;
namespace extensions {
+class ExtensionsApiClient;
+
// An ExtensionsBrowserClient that supports a single content::BrowserContent
// with no related incognito context.
class ShellExtensionsBrowserClient : public ExtensionsBrowserClient {
@@ -63,6 +65,9 @@ class ShellExtensionsBrowserClient : public ExtensionsBrowserClient {
// The single BrowserContext for app_shell. Not owned.
content::BrowserContext* browser_context_;
+ // Support for extension APIs.
+ scoped_ptr<ExtensionsApiClient> api_client_;
+
// The PrefService for |browser_context_|.
scoped_ptr<PrefService> prefs_;

Powered by Google App Engine
This is Rietveld 408576698