|
[NaCl SDK] Add fake for ppb_host_resolver and ppb_net_address
Also add tests for gethostbyname that usese these fakes
and fix the resulting leaks found in host_resolver.cc.
Also add a third variant of ki_init() which takes a
PepperInterface instance. This can be used by the test
code to inject a fake pepper interface.
R=binji@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247487
Total comments: 26
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+438 lines, -40 lines) |
Patch |
 |
M |
native_client_sdk/src/libraries/nacl_io/host_resolver.cc
|
View
|
1
2
|
4 chunks |
+20 lines, -13 lines |
0 comments
|
Download
|
 |
M |
native_client_sdk/src/libraries/nacl_io/kernel_intercept.h
|
View
|
1
2
|
4 chunks |
+23 lines, -11 lines |
0 comments
|
Download
|
 |
M |
native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc
|
View
|
1
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
native_client_sdk/src/tests/nacl_io_test/example.dsc
|
View
|
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_core_interface.h
|
View
|
1
2
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_core_interface.cc
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
A |
native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_host_resolver_interface.h
|
View
|
1
2
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
 |
A |
native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_host_resolver_interface.cc
|
View
|
1
2
|
1 chunk |
+98 lines, -0 lines |
0 comments
|
Download
|
 |
A |
native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_net_address_interface.h
|
View
|
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
A |
native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_net_address_interface.cc
|
View
|
1
2
|
1 chunk |
+88 lines, -0 lines |
0 comments
|
Download
|
 |
M |
native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface.h
|
View
|
|
2 chunks |
+15 lines, -1 line |
0 comments
|
Download
|
 |
M |
native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface.cc
|
View
|
|
2 chunks |
+34 lines, -2 lines |
0 comments
|
Download
|
 |
M |
native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_url_loader.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
A |
native_client_sdk/src/tests/nacl_io_test/host_resolver_test.cc
|
View
|
1
2
|
1 chunk |
+55 lines, -0 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|