diff options
author | achuith@chromium.org <achuith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-07 18:31:26 +0000 |
---|---|---|
committer | achuith@chromium.org <achuith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-07 18:31:26 +0000 |
commit | 0aa509bb2ca4811b2f10b197c4f17c0f19b50980 (patch) | |
tree | 8705b98abfbb81a0be7ec334f9c6d6d664e3c9f5 /base/json | |
parent | 8ed1d4426d7edecb1a2bd565fd12705b73aebcb5 (diff) | |
download | chromium_src-0aa509bb2ca4811b2f10b197c4f17c0f19b50980.zip chromium_src-0aa509bb2ca4811b2f10b197c4f17c0f19b50980.tar.gz chromium_src-0aa509bb2ca4811b2f10b197c4f17c0f19b50980.tar.bz2 |
Revert 204270 "Find browser's pid by remote_debugging_port."
Caching the pid breaks guest mode.
The browser is restarted in guest mode, the pid changes, and we're watching for this pid change.
> Find browser's pid by remote_debugging_port.
>
> There is a bug in the original logic: the child process's pid chould be
> smaller than the parent. So, we may return the pid of a renderer process
> instead of the browser.
>
> This fix change to finding the pid by the remote_debugging_port. It should
> be more robust.
>
> BUG=241749
> TEST=run on chromeos device
>
> Review URL: https://chromiumcodereview.appspot.com/16322003
TBR=owenlin@chromium.org
Review URL: https://codereview.chromium.org/15930014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204873 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/json')
0 files changed, 0 insertions, 0 deletions