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

Unified Diff: chrome/renderer/extensions/dispatcher.h

Issue 16625012: Remove ExtensionURLInfo, make security decisions in render process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Inline IsSandboxedPage check into dispatcher.cc with TODO Created 7 years, 5 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: chrome/renderer/extensions/dispatcher.h
diff --git a/chrome/renderer/extensions/dispatcher.h b/chrome/renderer/extensions/dispatcher.h
index a3413690b796763b56abc842855ea4415869a0b8..3e17788542eb123cf8dd5ee6ed83a492d7a1dfed 100644
--- a/chrome/renderer/extensions/dispatcher.h
+++ b/chrome/renderer/extensions/dispatcher.h
@@ -230,10 +230,12 @@ 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);
+ const GURL& url);
// Gets |field| from |object| or creates it as an empty object if it doesn't
// exist.

Powered by Google App Engine
This is Rietveld 408576698