|
Changed some API names. Wrapped existing UDPClientSocket. Added one unit test for controller. The socket API itself isn't tested for two reasons: (1) this is an interim checkin, where Part 2 will add UDP receiving, and that will likely involve some API changes, so I didn't bother constructing a whole extension built on a temporary API; and (2) the wrapper itself is so thin around the existing UDPClientSocket API that a unit test of the wrapper wouldn't accomplish much.
BUG=none
TEST=see above.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113069
Total comments: 25
Total comments: 1
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+752 lines, -331 lines) |
Patch |
 |
A |
chrome/browser/extensions/api/socket/socket_api.h
|
View
|
1
|
1 chunk |
+106 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/api/socket/socket_api.cc
|
View
|
1
|
1 chunk |
+207 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/api/socket/socket_api_controller.h
|
View
|
1
|
1 chunk |
+84 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/api/socket/socket_api_controller.cc
|
View
|
1
2
|
1 chunk |
+181 lines, -0 lines |
1 comment
|
Download
|
 |
A |
chrome/browser/extensions/api/socket/socket_api_controller_unittest.cc
|
View
|
1
|
1 chunk |
+51 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/extensions/api/socket/socket_apitest.cc
|
View
|
1
2
|
4 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_function_dispatcher.cc
|
View
|
1
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/socket_api.h
|
View
|
1
|
1 chunk |
+0 lines, -67 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/socket_api.cc
|
View
|
1
|
1 chunk |
+0 lines, -151 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/socket_apitest.cc
|
View
|
1
|
1 chunk |
+0 lines, -68 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
1
|
3 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/api/extension_api.json
|
View
|
1
|
4 chunks |
+27 lines, -22 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/docs/experimental.socket.html
|
View
|
|
2 chunks |
+70 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/data/extensions/api_test/socket/api/background.js
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|