Index: chrome/browser/sync/test/integration/apps_helper.cc |
diff --git a/chrome/browser/sync/test/integration/apps_helper.cc b/chrome/browser/sync/test/integration/apps_helper.cc |
index d9501f50c5f524a76f5474ad5e6f3fef052ddc06..dea553d2b8bfecf4cb79f7b3a6d2503c194ba9dd 100644 |
--- a/chrome/browser/sync/test/integration/apps_helper.cc |
+++ b/chrome/browser/sync/test/integration/apps_helper.cc |
@@ -45,6 +45,12 @@ std::string InstallApp(Profile* profile, int index) { |
profile, CreateFakeAppName(index), Extension::TYPE_HOSTED_APP); |
} |
+std::string InstallAppForAllProfiles(int index) { |
+ for (int i = 0; i < test()->num_clients(); ++i) |
+ InstallApp(test()->GetProfile(i), index); |
+ return InstallApp(test()->verifier(), index); |
+} |
+ |
void UninstallApp(Profile* profile, int index) { |
return SyncExtensionHelper::GetInstance()->UninstallExtension( |
profile, CreateFakeAppName(index)); |