summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_webrequest_apitest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Restrict webRequest API to a certain whitelist of schemes (notably, no chromempcomplete@chromium.org2011-06-291-0/+2
| | | | | | | | | | | | or chrome-extension URLs will generate webRequest events). BUG=no TEST=no Review URL: http://codereview.chromium.org/7253047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90888 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ExtensionWebRequestApiTest.WebRequestEvents to be not flaky.mpcomplete@chromium.org2011-04-111-2/+1
| | | | | | | | BUG=79081 TEST=no TBR=mkwst git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81178 0039d316-1c4b-4281-b951-d872f2087c98
* Mark ExtensionWebRequestApiTest.WebRequestEvents flaky.dmichael@chromium.org2011-04-111-2/+3
| | | | | | | | | BUG=79081 TEST=N/A TBR=dmichael@chromium.org Review URL: http://codereview.chromium.org/6821051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81137 0039d316-1c4b-4281-b951-d872f2087c98
* Add request_id to HttpRequestInfo and pass it to the NetworkDelegate for events.mpcomplete@chromium.org2011-03-301-2/+12
| | | | | | | | | | | | | | This lets us look up the request associated with an http transaction and send event details for the webRequest.onBeforeRequest extension event. I also hooked up the onBeforeRequest event for HTTP network and cache transactions so that they are separate from other requests. This lets us have the request header information. BUG=60101 TEST=no Review URL: http://codereview.chromium.org/6698009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79905 0039d316-1c4b-4281-b951-d872f2087c98
* Unreverting: First steps towards webRequest extension API.mpcomplete@chromium.org2011-02-011-0/+7
| | | | | | | | | | | | | | Only an asynchronous version of onBeforeRequest is implement, with limited data being passed. Original CL: http://src.chromium.org/viewvc/chrome?view=rev&revision=73196 BUG=60101 TEST=no Review URL: http://codereview.chromium.org/6246032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73344 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "First steps towards webRequest extension API."mpcomplete@chromium.org2011-01-311-7/+0
| | | | | | | | | | | | | | | Seems to have broken the sync_integration_tests. This reverts commit d6f8d16cd6a5ebdf019c4755e7d42aee8136abf1. TBR=aa BUG=60101 TEST=no Review URL: http://codereview.chromium.org/6287029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73219 0039d316-1c4b-4281-b951-d872f2087c98
* First steps towards webRequest extension API.mpcomplete@chromium.org2011-01-311-0/+7
| | | | | | | | | | | | Only an asynchronous version of onBeforeRequest is implement, with limited data being passed. BUG=60101 TEST=no Review URL: http://codereview.chromium.org/6288014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73196 0039d316-1c4b-4281-b951-d872f2087c98
* Add the definition of the webRequest and webNavigation APIs.jochen@chromium.org2010-08-031-0/+14
The webRequest API doesn't support the planned filter and extraInfoSpec parameters yet, these will be added later. BUG=50943 TEST=ExtensionApiTest.WebRequest,ExtensionApiTest.WebNavigation Review URL: http://codereview.chromium.org/3061041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54723 0039d316-1c4b-4281-b951-d872f2087c98