Remove dependency to glib from this unit test.

As far as I can see, this test is verifying that a command-line is
testing the last command-line flag (--type=service), so just manually
split the command-line with space rather than depending on glib
command-line string parsing.

BUG=240712,170408

Review URL: https://codereview.chromium.org/151253003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250039 0039d316-1c4b-4281-b951-d872f2087c98
Add a delay and loop instead of using the glib function to be notified
of child process completion in order to remove glib dependency.

BUG=170408,195615

Review URL: https://codereview.chromium.org/152343003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250040 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250040
[OriginChip] Use the proper trigger conditions for hiding the chip.

BUG=338563

Review URL: https://codereview.chromium.org/149793009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250041 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 250041