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 346610a9b2d4359f325106e63491fc56a3db5116..e6873b3aaea21eb7d82d5a12edef5bee66a5b7d8 100644 |
--- a/chrome/browser/sync/test/integration/extensions_helper.cc |
+++ b/chrome/browser/sync/test/integration/extensions_helper.cc |
@@ -54,6 +54,12 @@ std::string InstallExtension(Profile* profile, int index) { |
profile, CreateFakeExtensionName(index), Extension::TYPE_EXTENSION); |
} |
+std::string InstallExtensionForAllProfiles(int index) { |
+ for (int i = 0; i < test()->num_clients(); ++i) |
+ InstallExtension(test()->GetProfile(i), index); |
+ return InstallExtension(test()->verifier(), index); |
+} |
+ |
void UninstallExtension(Profile* profile, int index) { |
return SyncExtensionHelper::GetInstance()->UninstallExtension( |
profile, CreateFakeExtensionName(index)); |