diff options
author | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-02 21:01:39 +0000 |
---|---|---|
committer | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-02 21:01:39 +0000 |
commit | bb64b5128f1641cba1e802ae7d0768be955ffdc5 (patch) | |
tree | 155aa1198f32f57dbdce887dd49a0d7b892fd283 /chrome/renderer/render_view.h | |
parent | db163f8b20b0a6c512e1ad21bab9af15a8c9c218 (diff) | |
download | chromium_src-bb64b5128f1641cba1e802ae7d0768be955ffdc5.zip chromium_src-bb64b5128f1641cba1e802ae7d0768be955ffdc5.tar.gz chromium_src-bb64b5128f1641cba1e802ae7d0768be955ffdc5.tar.bz2 |
Add calling frame's source_url to extension and dom ui requests.
Additionally, in the extension and tabs api, compute & report UMA histogram data for relative URL use in API calls so we can decide if it's possible to change the behavior of relative url resolution to use the calling frame's url rather than the extension's base url.
Review URL: http://codereview.chromium.org/1605005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43523 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_view.h')
-rw-r--r-- | chrome/renderer/render_view.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h index 963a142..ffd2ebb 100644 --- a/chrome/renderer/render_view.h +++ b/chrome/renderer/render_view.h @@ -477,7 +477,9 @@ class RenderView : public RenderWidget, void OnClearFocusedNode(); void SendExtensionRequest(const std::string& name, const ListValue& args, - int request_id, bool has_callback); + const GURL& source_url, + int request_id, + bool has_callback); void OnExtensionResponse(int request_id, bool success, const std::string& response, const std::string& error); |