| Index: chrome/renderer/extensions/dispatcher.h
|
| diff --git a/chrome/renderer/extensions/dispatcher.h b/chrome/renderer/extensions/dispatcher.h
|
| index a3413690b796763b56abc842855ea4415869a0b8..b43067d0d16b0a83f4205010dc13729f8a22728d 100644
|
| --- a/chrome/renderer/extensions/dispatcher.h
|
| +++ b/chrome/renderer/extensions/dispatcher.h
|
| @@ -31,6 +31,7 @@ struct ExtensionMsg_Loaded_Params;
|
|
|
| namespace WebKit {
|
| class WebFrame;
|
| +class WebSecurityOrigin;
|
| }
|
|
|
| namespace base {
|
| @@ -230,10 +231,14 @@ class Dispatcher : public content::RenderProcessObserver {
|
| // are not in the same origin).
|
| bool IsWithinPlatformApp(const WebKit::WebFrame* frame);
|
|
|
| + bool IsSandboxedPage(const GURL& url) const;
|
| +
|
| // Returns the Feature::Context type of context for a JavaScript context.
|
| - Feature::Context ClassifyJavaScriptContext(const std::string& extension_id,
|
| - int extension_group,
|
| - const ExtensionURLInfo& url_info);
|
| + Feature::Context ClassifyJavaScriptContext(
|
| + const std::string& extension_id,
|
| + int extension_group,
|
| + const GURL& url,
|
| + const WebKit::WebSecurityOrigin& origin);
|
|
|
| // Gets |field| from |object| or creates it as an empty object if it doesn't
|
| // exist.
|
|
|