| Index: chrome/browser/renderer_host/browser_render_process_host.h
|
| diff --git a/chrome/browser/renderer_host/browser_render_process_host.h b/chrome/browser/renderer_host/browser_render_process_host.h
|
| index ad30cfdc0db3335eb5b0181b8652115721c43f9b..8f1c1ddf45e3d4aa4e3c8dd0cbbe7138b440c1d6 100644
|
| --- a/chrome/browser/renderer_host/browser_render_process_host.h
|
| +++ b/chrome/browser/renderer_host/browser_render_process_host.h
|
| @@ -23,6 +23,7 @@
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h"
|
|
|
| class CommandLine;
|
| +class Extension;
|
| class RendererMainThread;
|
| class RenderWidgetHelper;
|
| class VisitedLinkUpdater;
|
| @@ -53,7 +54,8 @@ class BrowserRenderProcessHost : public RenderProcessHost,
|
| ~BrowserRenderProcessHost();
|
|
|
| // RenderProcessHost implementation (public portion).
|
| - virtual bool Init(bool is_accessibility_enabled, bool is_extensions_process);
|
| + virtual bool Init(bool is_accessibility_enabled, bool is_extensions_process,
|
| + const Extension* installed_app);
|
| virtual int GetNextRoutingID();
|
| virtual void CancelResourceRequests(int render_widget_id);
|
| virtual void CrossSiteClosePageACK(const ViewMsg_ClosePage_Params& params);
|
| @@ -203,7 +205,10 @@ class BrowserRenderProcessHost : public RenderProcessHost,
|
| // when running in single-process mode.
|
| bool extension_process_;
|
|
|
| - // Usedt to launch and terminate the process without blocking the UI thread.
|
| + // The Extension for the hosted or packaged app if any, NULL otherwise.
|
| + scoped_refptr<const Extension> installed_app_;
|
| +
|
| + // Used to launch and terminate the process without blocking the UI thread.
|
| scoped_ptr<ChildProcessLauncher> child_process_;
|
|
|
| // Messages we queue while waiting for the process handle. We queue them here
|
|
|