• erikwright@chromium.org's avatar
    Refactor ProcessSingleton so that it may be used distinctly from a full browser process. · 5d36454f
    erikwright@chromium.org authored
    The main effect is that ProcessSingleton is much more restricted to its basic functionality, which is to ensure that a single instance of Chrome runs per profile directory and to pass messages from new Chrome invocations to the existing instance.
    
    Exactly how those messages were handled has been moved from the implementations of ProcessSingleton into ChromeBrowserMain where (I think) it more rightly belongs.
    
    This will allow the Chrome Frame net tests to use ProcessSingleton to implement a stub Chrome for the purpose of handling network-related IPC from Chrome Frame without having to launch the rest of Chrome, upon which ProcessSingleton previously depended directly.
    
    BUG=None
    TEST=None
    
    Review URL: http://codereview.chromium.org/9968053
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130853 0039d316-1c4b-4281-b951-d872f2087c98
    5d36454f
process_singleton.cc 949 Bytes