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