Index: chrome/renderer/extensions/user_script_slave.h |
diff --git a/chrome/renderer/extensions/user_script_slave.h b/chrome/renderer/extensions/user_script_slave.h |
index a538014c06fc2075d3f874966e2fe18b205f9f93..394ad3a419d6a3a29b74714e0ebbf9420d1f1b35 100644 |
--- a/chrome/renderer/extensions/user_script_slave.h |
+++ b/chrome/renderer/extensions/user_script_slave.h |
@@ -36,6 +36,10 @@ class UserScriptSlave { |
// committed, this is the commited URL. Otherwise it is the provisional URL. |
static GURL GetDataSourceURLForFrame(const blink::WebFrame* frame); |
+ // Get the URL of a frame, based on its securityOrigin. If the security origin |
+ // is unique, the frame's URL is returned instead. |
+ static GURL GetOriginURLForFrame(const blink::WebFrame* frame); |
+ |
explicit UserScriptSlave(const ExtensionSet* extensions); |
~UserScriptSlave(); |