| Index: chrome/browser/sync/test/integration/extensions_helper.cc
|
| diff --git a/chrome/browser/sync/test/integration/extensions_helper.cc b/chrome/browser/sync/test/integration/extensions_helper.cc
|
| index 7f9a2fbe99c6c43940336ef35077dd3b10ec597a..1dad8f42181b51ea6efebe6800e145ff705d3a29 100644
|
| --- a/chrome/browser/sync/test/integration/extensions_helper.cc
|
| +++ b/chrome/browser/sync/test/integration/extensions_helper.cc
|
| @@ -70,9 +70,11 @@ std::string InstallExtension(Profile* profile, int index) {
|
| }
|
|
|
| std::string InstallExtensionForAllProfiles(int index) {
|
| - for (int i = 0; i < test()->num_clients(); ++i)
|
| - InstallExtension(test()->GetProfile(i), index);
|
| - return InstallExtension(test()->verifier(), index);
|
| + std::string extension_id;
|
| + for (auto* profile : test()->GetAllProfiles()) {
|
| + extension_id = InstallExtension(profile, index);
|
| + }
|
| + return extension_id;
|
| }
|
|
|
| void UninstallExtension(Profile* profile, int index) {
|
|
|