forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert 235213 "android: forwader2: Simplify Forwarder implementa..."
> android: forwader2: Simplify Forwarder implementation. > > This patch does several things to the Forwarder class used in the 'forwarder2' > tool: > > - Add a Stop() method to gently ask the forwarder to shut-down. This stops > the forwarder from listening from incoming data, but keeps it running > until it could flush its buffer properly, to avoid packet loss. > > - Simplify / refactor the buffer management code inside a Forwarder > instance, to make the state of its buffer, and their transitions, > more explict. > > BUG=313809 > R=pliard@chromium.org > > Review URL: https://codereview.chromium.org/61793013 TBR=digit@chromium.org Review URL: https://codereview.chromium.org/70193013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235729 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
pliard@chromium.org
committed
Nov 18, 2013
1 parent
3e00d6a
commit 715d972
Showing
4 changed files
with
83 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.