DescriptionUse the new forwarder2's Daemon implementation in device_forwarder.
This lets device_forwarder be controlled (started and killed) like
host_forwarder (see r167167).
This has the main benefit of moving the setup/tear down complexity from the
Python Forwarder wrapper code to the forwarder itself so that various clients
(including WebKit) can use forwarder2 more easily (e.g. no need to use pexpect
anymore (which is not available in WebKit)).
This implied a refactoring in the Daemon class so that its clients don't have
to duplicate the socket-related code.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=169334
Patch Set 1 : #Patch Set 2 : #
Total comments: 19
Patch Set 3 : Address Marcus' comments #
Total comments: 11
Patch Set 4 : Address Felipe's comments #Patch Set 5 : Address Marcus' comments #
Total comments: 8
Patch Set 6 : Address Felipe's comments + sync #Patch Set 7 : Address David's comments #Patch Set 8 : Add missing 'break' statement #
Total comments: 2
Patch Set 9 : Address David's comments #
Messages
Total messages: 21 (0 generated)
|