| 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..130c3b6d6dd04639ac68baf1d055140a27c2d32d 100644
|
| --- a/chrome/browser/sync/test/integration/extensions_helper.cc
|
| +++ b/chrome/browser/sync/test/integration/extensions_helper.cc
|
| @@ -70,9 +70,14 @@ 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;
|
| + std::vector<Profile*> profiles = test()->GetAllProfiles();
|
| + for (std::vector<Profile*>::iterator it = profiles.begin();
|
| + it != profiles.end();
|
| + ++it) {
|
| + extension_id = InstallExtension(*it, index);
|
| + }
|
| + return extension_id;
|
| }
|
|
|
| void UninstallExtension(Profile* profile, int index) {
|
|
|