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

Unified Diff: apps/shell/shell_extension_system.h

Issue 136453005: app_shell: Make renderer run background page JavaScript (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup (load_background_page) Created 6 years, 11 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/shell_extension_system.h
diff --git a/apps/shell/shell_extension_system.h b/apps/shell/shell_extension_system.h
index acc34f0b573ff7d1b0778f87973500d1de4fab96..a72e089431be3df49de974c026f7e7b29a94d3cd 100644
--- a/apps/shell/shell_extension_system.h
+++ b/apps/shell/shell_extension_system.h
@@ -20,6 +20,7 @@ class BrowserContext;
namespace extensions {
class EventRouter;
+class InfoMap;
class LazyBackgroundTaskQueue;
class ProcessManager;
@@ -63,6 +64,9 @@ class ShellExtensionSystem : public ExtensionSystem {
private:
content::BrowserContext* browser_context_; // Not owned.
+ // Data to be accessed on the IO thread. Must outlive process_manager_.
+ scoped_refptr<InfoMap> info_map_;
+
scoped_ptr<LazyBackgroundTaskQueue> lazy_background_task_queue_;
scoped_ptr<EventRouter> event_router_;
scoped_ptr<ProcessManager> process_manager_;

Powered by Google App Engine
This is Rietveld 408576698