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

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

Issue 11308072: Include v2 packaged apps in sync. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 faf0adde2e75095164eb95377c928f31c6554eb0..4ff62b79fa434acb82c4b119c9a317d2668becc9 100644
--- a/chrome/browser/sync/test/integration/apps_helper.cc
+++ b/chrome/browser/sync/test/integration/apps_helper.cc
@@ -47,6 +47,13 @@ std::string InstallApp(Profile* profile, int index) {
extensions::Extension::TYPE_HOSTED_APP);
}
+std::string InstallPlatformApp(Profile* profile, int index) {
+ return SyncExtensionHelper::GetInstance()->InstallExtension(
+ profile,
+ CreateFakeAppName(index),
akalin 2012/11/16 18:38:53 can you add a CreateFakePlatformAppName() function
Marijn Kruisselbrink 2012/11/16 18:54:30 Done.
Marijn Kruisselbrink 2012/11/19 18:43:01 Actually, I decided to undo this again (since this
+ extensions::Extension::TYPE_PLATFORM_APP);
+}
+
std::string InstallAppForAllProfiles(int index) {
for (int i = 0; i < test()->num_clients(); ++i)
InstallApp(test()->GetProfile(i), index);

Powered by Google App Engine
This is Rietveld 408576698