DescriptionOpen link from WebUSB in the last used profile.
This switches WebUSB notifications from using
ProfileManager::GetActiveProfile() to
ProfileManager::GetLastUsedProfileAllowedByPolicy(). This means that
when a single Chrome instance has multiple profiles configured the one
with a currently active window will be selected to open the new tab.
Previously the default profile was always used.
BUG=None
TEST=Verified new tab is opened in the most recently used Chrome window
and that new windows are still successfully created on Chrome OS in
regular and guest mode.
Committed: https://crrev.com/da2f47e15386469dba99bff3035a84d1720a9974
Cr-Commit-Position: refs/heads/master@{#431969}
Patch Set 1 #
Messages
Total messages: 11 (6 generated)
|