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

Unified Diff: chrome/browser/sync/test/integration/extensions_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/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));

Powered by Google App Engine
This is Rietveld 408576698