| 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..a3835df38ee3c89af572333c3d051aab6f5c4806 100644
|
| --- a/chrome/renderer/extensions/user_script_slave.h
|
| +++ b/chrome/renderer/extensions/user_script_slave.h
|
| @@ -36,6 +36,13 @@ class UserScriptSlave {
|
| // committed, this is the commited URL. Otherwise it is the provisional URL.
|
| static GURL GetDataSourceURLForFrame(const blink::WebFrame* frame);
|
|
|
| + // Returns the first non-about:-URL in the document hierarchy above and
|
| + // including |frame|. The document hierarchy is only traversed if
|
| + // |document_url| is an about:-URL and if |match_about_blank| is true.
|
| + static GURL GetEffectiveDocumentURL(const blink::WebFrame* frame,
|
| + const GURL& document_url,
|
| + bool match_about_blank);
|
| +
|
| explicit UserScriptSlave(const ExtensionSet* extensions);
|
| ~UserScriptSlave();
|
|
|
|
|