summaryrefslogtreecommitdiffstats
path: root/content/common/net
Commit message (Collapse)AuthorAgeFilesLines
* Convert use of int ms to TimeDelta in files owned by eroman.tedvessenes@gmail.com2012-01-281-1/+2
| | | | | | | | | | | R=eroman@chromium.org BUG=108171 TEST= Review URL: http://codereview.chromium.org/9107025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119537 0039d316-1c4b-4281-b951-d872f2087c98
* [Coverity] Fixed call by value to by referencegroby@chromium.org2012-01-121-3/+3
| | | | | | | | | | | | CID=102901 BUG=none TEST=none Review URL: http://codereview.chromium.org/9148018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117360 0039d316-1c4b-4281-b951-d872f2087c98
* Added HTTP DELETE request type to content:URLFetcher.zelidrag@chromium.org2011-12-131-0/+4
| | | | | | | | BUG=chromium-os:24126 TEST=none Review URL: http://codereview.chromium.org/8898016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114295 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind() cleanup in URLFetcherImpl test.dcheng@chromium.org2011-12-131-24/+12
| | | | | | | | | BUG=none TEST=content_unittests --gtest_filter=URLFetcher* Review URL: http://codereview.chromium.org/8885002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114136 0039d316-1c4b-4281-b951-d872f2087c98
* Removing MessageLoop::QuitTask() from content/dcheng@chromium.org2011-12-101-8/+8
| | | | | | | | | | | | base/task.h is going away and being replaced by base/bind.h and base/callback.h. This CL was automatically generated by sed. BUG=none TEST=none Review URL: http://codereview.chromium.org/8872030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113894 0039d316-1c4b-4281-b951-d872f2087c98
* Allow linker initialization of lazy instancejoth@chromium.org2011-11-151-1/+1
| | | | | | | | | | | | | | Using the initializer list construct = {0} allows the object to be linker initialized. Modify the LazyInstance class design to make it a pod aggregate type that can be linker initialized this way. Also combines the instance and state members, in line with the Singleton<> class design. Introduces a new LAZY_INSTANCE_INITIALIZER macro specifically for using to init all lazy instances + modify all existing callsites to use it. (Old code would no longer compile) BUG=94925 TEST=existing tests pass. http://build.chromium.org/f/chromium/perf/linux-release/sizes/report.html?history=150&header=chrome-si&graph=chrome-si&rev=-1 should step downward. TBR=jam@chromium.org,rvargas@chromium.org,darin@chromium.org,ben@chromium.org,apatrick@chromium.org,akalin@chromium.org Review URL: http://codereview.chromium.org/8491043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110076 0039d316-1c4b-4281-b951-d872f2087c98
* URLFetcher should not act on writes to closed temp files.skerner@chromium.org2011-11-111-0/+16
| | | | | | | | | | BUG=103424 TEST=none Review URL: http://codereview.chromium.org/8523003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109687 0039d316-1c4b-4281-b951-d872f2087c98
* Convert some non-debug logging on content/common to debug logging.brettw@chromium.org2011-10-291-8/+8
| | | | | | | [ Re-land of 107815 ] Review URL: http://codereview.chromium.org/8416055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107852 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 107815 - Convert the non-debug logging in chrome/common to debug logging.brettw@chromium.org2011-10-281-8/+8
| | | | | | | | | Review URL: http://codereview.chromium.org/8370022 TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/8413057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107816 0039d316-1c4b-4281-b951-d872f2087c98
* Convert the non-debug logging in chrome/common to debug logging.brettw@chromium.org2011-10-281-8/+8
| | | | | | Review URL: http://codereview.chromium.org/8370022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107815 0039d316-1c4b-4281-b951-d872f2087c98
* Add histogram to measure string response size of URLFetcher.skerner@chromium.org2011-10-281-0/+4
| | | | | | | | | | BUG=101929 TEST=URLFetcher*Test.* Review URL: http://codereview.chromium.org/8416001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107780 0039d316-1c4b-4281-b951-d872f2087c98
* Handle additional feedback from http://codereview.chromium.org/8395038/.jam@chromium.org2011-10-282-4/+4
| | | | | | | | | | | -rename URLFetcherFactory to URLFetcherImplFactory -rename GetUrl to GetURL and GetOriginalUrl to GetOriginalURL -get rid of request_type in TestURLFetcher's constructor BUG=98716 Review URL: http://codereview.chromium.org/8416020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107665 0039d316-1c4b-4281-b951-d872f2087c98
* Rename URLFetcher to be URLFetcherImpl, now that we have the ↵jam@chromium.org2011-10-273-124/+126
| | | | | | | | | content::URLFetcher interface. BUG=98716 Review URL: http://codereview.chromium.org/8403017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107531 0039d316-1c4b-4281-b951-d872f2087c98
* Make test URLFetcher implementations not derive from the URLFetcher ↵jam@chromium.org2011-10-262-60/+20
| | | | | | | | | | | implementation, since we want to hide that from chrome completely. SetBackoffDelayForTesting moves from content::UrlFetcher to TestURLFetcher, now that the test objects derive from it. BUG=98716 Review URL: http://codereview.chromium.org/8395038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107468 0039d316-1c4b-4281-b951-d872f2087c98
* Convert chrome callers of UrlFetcher to use the interface. I'll switch tests ↵jam@chromium.org2011-10-261-0/+9
| | | | | | | | | to use composition instead of inheritence in a future change. BUG=98716 Review URL: http://codereview.chromium.org/8395023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107268 0039d316-1c4b-4281-b951-d872f2087c98
* Create a content::UrlFetcher interface that lives in content/public/common ↵jam@chromium.org2011-10-253-278/+149
| | | | | | | | | and convert users to it. I have added a static create function, but will switch instantiations to use it in another change since this has grown a lot. Basically this change converts function names away from unix_hacker style, which they shouldn't have been using anyways since some are virtual, and made all of the other functions virtual. BUG=98716 Review URL: http://codereview.chromium.org/8375039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107151 0039d316-1c4b-4281-b951-d872f2087c98
* Convert URLFetcher::Delegates to use an interface in content/public/common. ↵jam@chromium.org2011-10-243-245/+91
| | | | | | | | Also remove the old URLFetcher delegate callback while I'm touching all of them.BUG=98716,83592 Review URL: http://codereview.chromium.org/8373021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106949 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Final cleanup in url_fetcher.cc.jhawkins@chromium.org2011-10-181-23/+12
| | | | | | | | | | | BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8350001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106166 0039d316-1c4b-4281-b951-d872f2087c98
* URLFetcher: Minor cleanups.jhawkins@chromium.org2011-10-181-5/+1
| | | | | | | | | | | BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8336003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105986 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert FileUtilProxy::StatusCallback.jhawkins@chromium.org2011-10-171-10/+7
| | | | | | | | | | | BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8318025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105925 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert FileUtilProxy::WriteCallback.jhawkins@chromium.org2011-10-171-6/+4
| | | | | | | | | | | BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8321014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105912 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert FileUtilProxy::CreateTemporaryCallback.jhawkins@chromium.org2011-10-171-3/+7
| | | | | | | | | | | BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8315011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105881 0039d316-1c4b-4281-b951-d872f2087c98
* Move backoff_delay_ to the inner Core class so that core_ iswtc@chromium.org2011-10-163-11/+18
| | | | | | | | | | | | | | the only data member. Fix typos in comments. Add wtc@chromium.org to OWNERS. R=joi@chromium.org,willchan@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/7282032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105732 0039d316-1c4b-4281-b951-d872f2087c98
* more content exports needed for unit_tests and browser_tests.dpranke@chromium.org2011-09-301-3/+1
| | | | | | | | | | R=jam@chromium.org BUG=90442 TEST= Review URL: http://codereview.chromium.org/8082019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103584 0039d316-1c4b-4281-b951-d872f2087c98
* Recover from bad proxy settings pointing to non-proxy servers that reply anyway.joaodasilva@chromium.org2011-09-282-0/+15
| | | | | | | | | | | | Added tests for proxy error recovery. BUG=chromium-os:20775 TEST=DeviceManagementServiceTest.*. Steps described in the bug now work as expected. Review URL: http://codereview.chromium.org/8054013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103172 0039d316-1c4b-4281-b951-d872f2087c98
* Update OnURLFetchComplete() to use new params in AutofillDownloadManager.skerner@chromium.org2011-09-231-6/+4
| | | | | | | | | BUG=83592 TEST=compiles Review URL: http://codereview.chromium.org/7979015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102493 0039d316-1c4b-4281-b951-d872f2087c98
* Annotate all of the functions in content that need to be exported, in ↵dpranke@chromium.org2011-09-131-2/+3
| | | | | | | | | | | | preparation for creating a content shared library. R=darin@chromium.org, jam@chromium.org, willchan@chromium.org BUG=90442 TEST=everything still compiles Review URL: http://codereview.chromium.org/7800015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100975 0039d316-1c4b-4281-b951-d872f2087c98
* Fix URLFetcherTest.CancelAll.willchan@chromium.org2011-09-131-29/+22
| | | | | | | | | | | | | I don't know what I was smoking before when I wrote this test. It was obviously racy. Fix it by moving the EXPECTs and CancelAll call to the IO thread. The last EXPECT is fine on the main test thread since it should be guaranteed to be 0. BUG=89863,88221 TEST=manual Review URL: http://codereview.chromium.org/7881001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100861 0039d316-1c4b-4281-b951-d872f2087c98
* Move URLFetcher from content/common to content/common/net.willchan@chromium.org2011-09-134-0/+2355
| | | | | | | | | | | | | Add a OWNERS for content/common/net BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=100828 Review URL: http://codereview.chromium.org/7875006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100857 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Linux Views build breakage.willchan@chromium.org2011-09-134-2355/+0
| | | | | | | | | | | | | | | | Revert 100828 - Move URLFetcher from content/common to content/common/net. Add a OWNERS for content/common/net BUG=none TEST=none Review URL: http://codereview.chromium.org/7875006 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/7884003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100829 0039d316-1c4b-4281-b951-d872f2087c98
* Move URLFetcher from content/common to content/common/net.willchan@chromium.org2011-09-134-0/+2355
Add a OWNERS for content/common/net BUG=none TEST=none Review URL: http://codereview.chromium.org/7875006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100828 0039d316-1c4b-4281-b951-d872f2087c98