• gab@chromium.org's avatar
    Register Chrome in Open With... for File Associations at install on Windows. · f5a05dc4
    gab@chromium.org authored
    Refactor shell_util.cc to use ScopedVector<RegistryEntry> instead of std::list<RegistryEntry*>
    
    BUG=139597
    TEST=Chrome shows up in the Open With context menu immediately post-install (not after first-run/make default).
    Make sure App Paths still work (i.e. launch "chrome.exe" from Run dialog).
    
    For the OpenWith test (say you're testing OpenWith for .htm files), make sure that you delete Chrome ProgIds from:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.htm\OpenWithProgids
    (they are automatically copied there by Windows so if you have previously installed Chrome on this machine and made it default at least once Windows will have picked this up already).
    
    Review URL: https://chromiumcodereview.appspot.com/10823178
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150234 0039d316-1c4b-4281-b951-d872f2087c98
    f5a05dc4
shell_util.h 21.7 KB