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

Unified Diff: chrome/test/live_sync/live_apps_sync_test.cc

Issue 7104072: Adding new extension sync integration tests. Also modified the way that profile (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Review changes Created 9 years, 6 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/test/live_sync/live_apps_sync_test.cc
diff --git a/chrome/test/live_sync/live_apps_sync_test.cc b/chrome/test/live_sync/live_apps_sync_test.cc
index 885949a0f2725e14e2f20df9000fa8851155367c..91bd74b91241b55a36d640cd3b672c9049234254 100644
--- a/chrome/test/live_sync/live_apps_sync_test.cc
+++ b/chrome/test/live_sync/live_apps_sync_test.cc
@@ -64,6 +64,26 @@ void LiveAppsSyncTest::UninstallApp(Profile* profile, int index) {
CreateFakeAppName(index));
}
+void LiveAppsSyncTest::EnableApp(Profile* profile, int index) {
+ return extension_helper_.EnableExtension(profile,
+ CreateFakeAppName(index));
+}
+
+void LiveAppsSyncTest::DisableApp(Profile* profile, int index) {
+ return extension_helper_.DisableExtension(profile,
+ CreateFakeAppName(index));
+}
+
+void LiveAppsSyncTest::IncognitoEnableApp(Profile* profile, int index) {
+ return extension_helper_.IncognitoEnableExtension(profile,
+ CreateFakeAppName(index));
+}
+
+void LiveAppsSyncTest::IncognitoDisableApp(Profile* profile, int index) {
+ return extension_helper_.IncognitoDisableExtension(profile,
+ CreateFakeAppName(index));
+}
+
void LiveAppsSyncTest::InstallAppsPendingForSync(
Profile* profile) {
extension_helper_.InstallExtensionsPendingForSync(

Powered by Google App Engine
This is Rietveld 408576698