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

Side by Side Diff: extensions/shell/browser/shell_extensions_browser_client.h

Issue 612423003: Move ExtensionCache to //extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test setup Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « extensions/extensions.gyp ('k') | extensions/shell/browser/shell_extensions_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "extensions/browser/extensions_browser_client.h" 9 #include "extensions/browser/extensions_browser_client.h"
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 virtual void RegisterExtensionFunctions( 71 virtual void RegisterExtensionFunctions(
72 ExtensionFunctionRegistry* registry) const override; 72 ExtensionFunctionRegistry* registry) const override;
73 virtual scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate( 73 virtual scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate(
74 content::BrowserContext* context) const override; 74 content::BrowserContext* context) const override;
75 virtual ComponentExtensionResourceManager* 75 virtual ComponentExtensionResourceManager*
76 GetComponentExtensionResourceManager() override; 76 GetComponentExtensionResourceManager() override;
77 virtual void BroadcastEventToRenderers( 77 virtual void BroadcastEventToRenderers(
78 const std::string& event_name, 78 const std::string& event_name,
79 scoped_ptr<base::ListValue> args) override; 79 scoped_ptr<base::ListValue> args) override;
80 virtual net::NetLog* GetNetLog() override; 80 virtual net::NetLog* GetNetLog() override;
81 virtual ExtensionCache* GetExtensionCache() override;
81 82
82 private: 83 private:
83 // The single BrowserContext for app_shell. Not owned. 84 // The single BrowserContext for app_shell. Not owned.
84 content::BrowserContext* browser_context_; 85 content::BrowserContext* browser_context_;
85 86
86 // Support for extension APIs. 87 // Support for extension APIs.
87 scoped_ptr<ExtensionsAPIClient> api_client_; 88 scoped_ptr<ExtensionsAPIClient> api_client_;
88 89
89 // The PrefService for |browser_context_|. 90 // The PrefService for |browser_context_|.
90 scoped_ptr<PrefService> prefs_; 91 scoped_ptr<PrefService> prefs_;
91 92
93 // The extension cache used for download and installation.
94 scoped_ptr<ExtensionCache> extension_cache_;
95
92 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); 96 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient);
93 }; 97 };
94 98
95 } // namespace extensions 99 } // namespace extensions
96 100
97 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 101 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « extensions/extensions.gyp ('k') | extensions/shell/browser/shell_extensions_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698