chrome/test/mini_installer/chrome_helper.py
def GetBrowserProcess(chrome_processes):
        """Returns a psutil.Process for the browser process in
        |chrome_processes|.
        """
        # Find the one whose parent isn't a chrome.exe process.
        for process in chrome_processes.itervalues():
            try:
                if get_process_ppid(process) not in chrome_processes:
                    return process
            except psutil.Error:
                pass
        return None
Returns a psutil.Process for the browser process in
        |chrome_processes|.
        
Returns a psutil.Process for the browser process in
|chrome_processes|.
Returns a psutil . Process for the browser process in |chrome_processes| .
def GetBrowserProcess(chrome_processes):
        for process in chrome_processes.itervalues():
            try:
                if get_process_ppid(process) not in chrome_processes:
                    return process
            except psutil.Error:
                pass
        return None
def GetBrowserProcess ( chrome_processes ) : for process in chrome_processes . itervalues ( ) : try : if get_process_ppid ( process ) not in chrome_processes : return process except psutil . Error : pass return None
Returns a psutil.Process for the browser process in
|chrome_processes|.
Returns a psutil . Process for the browser process in |chrome_processes| .
"""Returns a psutil.Process for the browser process in
        |chrome_processes|.
        """ # Find the one whose parent isn't a chrome.exe process.
chrome_processes