Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2629)

Unified Diff: chrome/browser/sync/test/integration/apps_helper.cc

Issue 9427001: Extend TwoClientExtensionSettingsSyncTest to test app settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: oops Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));

Powered by Google App Engine
This is Rietveld 408576698