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

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 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
« no previous file with comments | « no previous file | apps/shell/browser/shell_extensions_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..b8c1a5a1fab99b8be523d487e3de7641ca974407 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_;
« no previous file with comments | « no previous file | apps/shell/browser/shell_extensions_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698