summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_proxy_api_helpers.cc
Commit message (Collapse)AuthorAgeFilesLines
* Improve error handling in proxy settings apibattre@chromium.org2011-05-031-11/+26
| | | | | | | | | | | Introduce a bad_message parameter in order to simulate EXTENSION_FUNCTION_VALIDATE. This allows the Proxy Settings API to terminate extensions that circumvent the input parameter validation performed by the generic extension api. BUG=none TEST=none Review URL: http://codereview.chromium.org/6902039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83901 0039d316-1c4b-4281-b951-d872f2087c98
* Enable (optional) blocking of webrequests in case a PAC script cannot be ↵battre@chromium.org2011-05-031-1/+29
| | | | | | | | | | | | | fetched or is invalid. The optional blocking is currently only exposed to the Proxy Settings API, not to command-line parameters or policies. BUG=79344 TEST=Install the sample proxy extension and enter a non-existing url and a URL that does not point to a valid JavaScript file. In either case, the request should fail. Review URL: http://codereview.chromium.org/6871019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83882 0039d316-1c4b-4281-b951-d872f2087c98
* CL Candidate for C++ Readabilitybattre@chromium.org2011-04-181-6/+10
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6791009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81936 0039d316-1c4b-4281-b951-d872f2087c98
* Change DCHECK to CHECK. CHECK is better and the compiler was complaining of ↵aa@chromium.org2011-04-011-2/+2
| | | | | | | | the unused variable TBR=jochen@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80198 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup of Proxy Settings API implementation.battre@chromium.org2011-03-311-0/+441
BUG=none TEST=none Review URL: http://codereview.chromium.org/6749009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79997 0039d316-1c4b-4281-b951-d872f2087c98