|
Remove redundant mapping of net errors to strings.
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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288065
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+61 lines, -58 lines) |
Patch |
 |
M |
chrome/browser/errorpage_browsertest.cc
|
View
|
|
1 chunk |
+1 line, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/guest_view/web_view/web_view_guest.cc
|
View
|
1
2
|
2 chunks |
+4 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/net_internals/main.js
|
View
|
1
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/net_internals/source_entry.js
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/localized_error.cc
|
View
|
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/webui/net_internals/dns_view.js
|
View
|
1
2
3
|
5 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/webui/net_internals/test_view.js
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chromeos/network/onc/onc_certificate_importer_impl.cc
|
View
|
1
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/cronet/android/org_chromium_net_UrlRequest.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/child/socket_stream_dispatcher.cc
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
device/bluetooth/bluetooth_socket_win.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/base/net_errors.h
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -9 lines |
0 comments
|
Download
|
 |
M |
net/base/net_errors.cc
|
View
|
1
2
3
4
|
1 chunk |
+21 lines, -4 lines |
0 comments
|
Download
|
 |
M |
net/base/net_log_logger.cc
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/quic/crypto/proof_verifier_chromium.cc
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/tools/gdig/gdig.cc
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|