Revert "desktop-pwas: Get install mode from user-data dir"
This reverts commit 9825d9be. Reason for revert: This approach is no longer needed for Progressive Web Apps to find chrome.exe. The path for chrome.exe will be saved in the user-data directory instead (crrev.com/c/1891121). Original change's description: > desktop-pwas: Get install mode from user-data dir > > This change adds function GetUserDataSuffix(), which returns the install > suffix (e.g. "" for the primary install mode, " SxS", " Beta", or > " Dev") given a path in the User Data folder. > > It is based on GetInstallSuffix(), which does the same given a path in > the Application folder. > > This new function is the first part of finding the location of > chrome.exe from within the User Data directory, where Progressive Web > App (PWA) launchers are planned to be. The next step will be a function > that uses the install mode from FindInstallMode(GetUserDataSuffix()) to > get the full path of chrome.exe, which PWAs can then use to launch. > > Change-Id: If69859fc5f36b7d2d2c4262a1955bd432d983597 > Bug: 960245 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1866977 > Commit-Queue: Jesse McKenna <jessemckenna@google.com> > Reviewed-by: Greg Thompson <grt@chromium.org> > Cr-Commit-Position: refs/heads/master@{#708663} # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 960245 Change-Id: I96a4c65176b89c86642bc9eba9a90942c1c724ac Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1914480Reviewed-by:Greg Thompson <grt@chromium.org> Commit-Queue: Jesse McKenna <jessemckenna@google.com> Cr-Commit-Position: refs/heads/master@{#715306}
Showing
Please register or sign in to comment