summaryrefslogtreecommitdiffstats
path: root/net/base/net_errors.cc
Commit message (Collapse)AuthorAgeFilesLines
* Replace GetAllErrorCodesForUma calls with UMA_HISTOGRAM_SPARSE_SLOWLY.davidben2015-05-181-21/+0
| | | | | | | | | | | Per review comment on https://codereview.chromium.org/1127623005/, sparse histograms are preferred. BUG=none Review URL: https://codereview.chromium.org/1140273002 Cr-Commit-Position: refs/heads/master@{#330417}
* net cleanup: Remove unnecessary namespace prefixes.ttuttle2015-04-231-5/+5
| | | | | | | | BUG=475208 Review URL: https://codereview.chromium.org/1095823003 Cr-Commit-Position: refs/heads/master@{#326610}
* Don't trigger auto-reload on client auth failures.davidben2014-11-071-0/+12
| | | | | | | | | | Otherwise the user gets repeatedly prompted. BUG=431387 Review URL: https://codereview.chromium.org/707193005 Cr-Commit-Position: refs/heads/master@{#303319}
* Remove redundant mapping of net errors to strings.mmenke@chromium.org2014-08-071-4/+21
| | | | | | | | | | | | | | | | | | | | The new list does not have the leading "net::ERR_", to slightly reduce the size of net when compiled. This reduces the size of libcronet.so by about 8k, with symbols stripped. Also add a function to get network error strings without the leading, "net::" as a number of consumers were removing it with duplicated code. This CL slight breaks NetLog loading functionality - loading old logs in new versions will result in error codes missing the leading "ERR_", and the other direction results in error codes having an extra leading "ERR_". BUG=399025 Review URL: https://codereview.chromium.org/432553003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288065 0039d316-1c4b-4281-b951-d872f2087c98
* Remove MapSystemErrorWithDefault.wtc@chromium.org2014-04-121-9/+0
| | | | | | | | | | | | | On the "Mac 10.6 Tests (dbg)(4)" bot, gcm_unit_test did not emit the "OS Error was not set meaningfully" warning message, so there is no evidence that setsockopt doesn't set errno on failure. R=jar@chromium.org BUG=355222 Review URL: https://codereview.chromium.org/233503003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263462 0039d316-1c4b-4281-b951-d872f2087c98
* make SetReceiveBufferSize and SetSendBufferSize return net error codes ↵jar@chromium.org2014-04-091-0/+9
| | | | | | | | | | | | | | (instead of bools) Previously committed as https://src.chromium.org/viewvc/chrome?view=rev&revision=261966 but then reverted when it broke the Mac 10.6 build. TBR=sergeyu,yzshen,yurys,zea R=wtc BUG=355222 Review URL: https://codereview.chromium.org/227473008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262652 0039d316-1c4b-4281-b951-d872f2087c98
* Convert Media Galleries to use base::Filervargas@chromium.org2014-01-271-6/+5
| | | | | | | | | | | | | | | Unfortunately, this brings in changes to webkit/browser/fileapi, and once that changes, a lot of files have to be updated. The bright side is that most of the collateral changes are just trivial renaming of PlatformFileError -> File::Error and PlatformFileInfo -> File::Info BUG=322664 Review URL: https://codereview.chromium.org/145303002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247301 0039d316-1c4b-4281-b951-d872f2087c98
* Move stringize_macros to base/strings.brettw@chromium.org2013-01-311-1/+1
| | | | | | | | | | This removes the unused L-string macros in the file. BUG= Review URL: https://codereview.chromium.org/12090083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179926 0039d316-1c4b-4281-b951-d872f2087c98
* Update callers of CreateFileSystemOperation so more detailed error codes can ↵calvinlo@chromium.org2012-09-101-2/+4
| | | | | | | | | | | | | be returned. Where applicable, convert net errors to base platform errors. BUG=141617 TBR=tony@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=155377 Review URL: https://chromiumcodereview.appspot.com/10920087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155671 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 155377 - Update callers of CreateFileSystemOperation so more detailed ↵erikwright@chromium.org2012-09-071-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | error codes can be returned. Where applicable, convert net errors to base platform errors. Compile error: ../../webkit/fileapi/local_file_system_test_helper.cc:180:76:error: too few arguments to function call, expected 2, have 1 file_system_context_->CreateFileSystemOperation(CreateURL(FilePath()))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ../../webkit/fileapi/file_system_context.h:132:3: note: 'CreateFileSystemOperation' declared here FileSystemOperation* CreateFileSystemOperation( ^ http://build.chromium.org/p/chromium.memory/builders/Mac%20ASAN%20Builder/builds/4001/steps/compile/logs/stdio#error1 BUG=141617 TBR=tony@chromium.org Review URL: https://chromiumcodereview.appspot.com/10920087 TBR=calvinlo@chromium.org Review URL: https://chromiumcodereview.appspot.com/10928052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155379 0039d316-1c4b-4281-b951-d872f2087c98
* Update callers of CreateFileSystemOperation so more detailed error codes can ↵calvinlo@chromium.org2012-09-071-2/+4
| | | | | | | | | | | be returned. Where applicable, convert net errors to base platform errors. BUG=141617 TBR=tony@chromium.org Review URL: https://chromiumcodereview.appspot.com/10920087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155377 0039d316-1c4b-4281-b951-d872f2087c98
* Factor out common error-code conversion code for PlatformFileErrorToNetError.nhiroki@google.com2012-07-251-1/+15
| | | | | | | | | BUG=136494 Review URL: https://chromiumcodereview.appspot.com/10808043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148255 0039d316-1c4b-4281-b951-d872f2087c98
* Add metrics for DHCP WPAD feature. Fix memory overwrite.joi@chromium.org2011-05-241-1/+19
| | | | | | | | | BUG=18575 TEST=net_unittests Review URL: http://codereview.chromium.org/6975027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86421 0039d316-1c4b-4281-b951-d872f2087c98
* Add shared macros for stringizing and converting ANSI string constantsjoi@chromium.org2010-11-181-3/+2
| | | | | | | | | | | | | | | | | | | | | (in particular defined by macros) to wide string constants. Convert existing locally-defined stringizing to use the shared macros. Unit tests for the shared macros. This also fixes a minor bug in ceee_module_util.cc where I accidentally quoted a string constant I only meant to convert to wide (this caused no bug, but was unintended, so the change in semantics in that file in the current change is intentional). BUG=none TEST=automated tests Review URL: http://codereview.chromium.org/5103001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66579 0039d316-1c4b-4281-b951-d872f2087c98
* NO CODE CHANGEdeanm@chromium.org2009-03-111-1/+0
| | | | | | | | | Normalize end of file newlines in net/. All files end in a single newline. Review URL: http://codereview.chromium.org/43079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11442 0039d316-1c4b-4281-b951-d872f2087c98
* Use a more compact license header in source files.license.bot2008-08-241-28/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1287 0039d316-1c4b-4281-b951-d872f2087c98
* Add net to the repository.initial.commit2008-07-261-0/+55
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14 0039d316-1c4b-4281-b951-d872f2087c98