| Index: chrome/browser/renderer_host/render_view_host.h
|
| diff --git a/chrome/browser/renderer_host/render_view_host.h b/chrome/browser/renderer_host/render_view_host.h
|
| index 5278eff06799502e4d201ccd232a80f5253bb980..19a65ef81552a03786db17c44d0f81fd765fadda 100644
|
| --- a/chrome/browser/renderer_host/render_view_host.h
|
| +++ b/chrome/browser/renderer_host/render_view_host.h
|
| @@ -14,6 +14,7 @@
|
| #include "chrome/browser/renderer_host/render_widget_host.h"
|
| #include "chrome/browser/ui/find_bar/find_bar_controller.h"
|
| #include "chrome/common/content_settings_types.h"
|
| +#include "chrome/common/extensions/extension.h"
|
| #include "chrome/common/page_zoom.h"
|
| #include "chrome/common/translate_errors.h"
|
| #include "chrome/common/view_types.h"
|
| @@ -364,6 +365,12 @@ class RenderViewHost : public RenderWidgetHost {
|
| is_extension_process_ = is_extension_process;
|
| }
|
|
|
| + // See variable comment.
|
| + const Extension* installed_app() { return installed_app_; }
|
| + void set_installed_app(const Extension* app) {
|
| + installed_app_ = app;
|
| + }
|
| +
|
| // Sets a property with the given name and value on the DOM UI binding object.
|
| // Must call AllowDOMUIBindings() on this renderer first.
|
| void SetDOMUIProperty(const std::string& name, const std::string& value);
|
| @@ -782,6 +789,10 @@ class RenderViewHost : public RenderWidgetHost {
|
| // what process type we use.
|
| bool is_extension_process_;
|
|
|
| + // The Extension object if this is a hosted or packaged app, NULL otherwise.
|
| + // This can affect the request context used by the renderer.
|
| + scoped_refptr<const Extension> installed_app_;
|
| +
|
| // Whether the accessibility tree should be saved, for unit testing.
|
| bool save_accessibility_tree_for_testing_;
|
|
|
|
|