commit | c1abb3237596e83cc12639d5b9e7607b67ae77f2 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Jul 30 18:28:39 2014 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Jul 30 18:28:39 2014 |
tree | 4696ac8ad2d52243324f89fd2f238669785541e2 | |
parent | 056fb8baa877888f0996eb5283721f1dbf2b5fb4 [diff] [blame] |
Allow restricting WebUI-enabled extension APIs to URL patterns. BUG=391944 [email protected], [email protected] Review URL: https://codereview.chromium.org/422433005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286564 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/extensions/renderer/script_context.h b/extensions/renderer/script_context.h index 7b19ac1..db7130a2 100644 --- a/extensions/renderer/script_context.h +++ b/extensions/renderer/script_context.h
@@ -104,6 +104,7 @@ // Utility to get the URL we will match against for a frame. If the frame has // committed, this is the commited URL. Otherwise it is the provisional URL. + // The returned URL may be invalid. static GURL GetDataSourceURLForFrame(const blink::WebFrame* frame); // Returns the first non-about:-URL in the document hierarchy above and