summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_browser_extensions.gypi
diff options
context:
space:
mode:
authorrpaquay@chromium.org <rpaquay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-16 02:05:26 +0000
committerrpaquay@chromium.org <rpaquay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-16 02:05:26 +0000
commit64a3996dc779333627f34e4e46be2a23b9539551 (patch)
tree8e1e0829056207efdea2c70258f33d2d92bc0e2e /chrome/chrome_browser_extensions.gypi
parent6a078da35f5fcf238013a837ab33e4a16e00d0a8 (diff)
downloadchromium_src-64a3996dc779333627f34e4e46be2a23b9539551.zip
chromium_src-64a3996dc779333627f34e4e46be2a23b9539551.tar.gz
chromium_src-64a3996dc779333627f34e4e46be2a23b9539551.tar.bz2
Implement v2 API of udp socket.
(Note this issue is a replacement for issue #19260002 that will not accept additional patch sets due to a corruption bug: https://code.google.com/p/chromium/issues/detail?id=107101). One notable change vs socket v1 is the use of event handlers for receiving data instead of using callbacks with the "recvFrom" function. This allow server apps to go to "suspend" mode when inactive (see https://docs.google.com/document/d/1qGytoYz6K0xYnOR6oM2tpxC0ET8bbb8XdTFMq4K9jTU/edit?usp=sharing), as well as improve performance (#packets/sec) (see https://docs.google.com/spreadsheet/ccc?key=0Ar6WDZ-sS7b5dEp1ckJGQjZEVGlFN3A1U1BVQUdQb2c&usp=sharing). Also implement the "close_on_suspend" behavior wrt to lifetime: By default, sockets are closed when the packaged app process dies (unload or suspend). When "close_on_suspend" is 'false', sockets survive "suspend" events, and thus can be re-used across process re-activation. This is useful for background server type apps. BUG=165273 BUG=173241 Review URL: https://chromiumcodereview.appspot.com/22650003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217912 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_browser_extensions.gypi')
-rw-r--r--chrome/chrome_browser_extensions.gypi4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/chrome_browser_extensions.gypi b/chrome/chrome_browser_extensions.gypi
index c477498..82fb593 100644
--- a/chrome/chrome_browser_extensions.gypi
+++ b/chrome/chrome_browser_extensions.gypi
@@ -425,6 +425,10 @@
'browser/extensions/api/socket/tcp_socket.h',
'browser/extensions/api/socket/udp_socket.cc',
'browser/extensions/api/socket/udp_socket.h',
+ 'browser/extensions/api/sockets_udp/udp_socket_event_dispatcher.h',
+ 'browser/extensions/api/sockets_udp/udp_socket_event_dispatcher.cc',
+ 'browser/extensions/api/sockets_udp/sockets_udp_api.cc',
+ 'browser/extensions/api/sockets_udp/sockets_udp_api.h',
'browser/extensions/api/spellcheck/spellcheck_api.cc',
'browser/extensions/api/spellcheck/spellcheck_api.h',
'browser/extensions/api/storage/leveldb_settings_storage_factory.cc',