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

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

Issue 65983002: Revert 231221 - "Remove enabled/disabled state from extension and app sync." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 feeb43ee6a4322f269a8bbf715470fce7a8befff..d51ba27100e4063724149178eb1374dfb004ed5b 100644
--- a/chrome/browser/sync/test/integration/apps_helper.cc
+++ b/chrome/browser/sync/test/integration/apps_helper.cc
@@ -65,6 +65,16 @@ void UninstallApp(Profile* profile, int index) {
profile, CreateFakeAppName(index));
}
+void EnableApp(Profile* profile, int index) {
+ return SyncExtensionHelper::GetInstance()->EnableExtension(
+ profile, CreateFakeAppName(index));
+}
+
+void DisableApp(Profile* profile, int index) {
+ return SyncExtensionHelper::GetInstance()->DisableExtension(
+ profile, CreateFakeAppName(index));
+}
+
void IncognitoEnableApp(Profile* profile, int index) {
return SyncExtensionHelper::GetInstance()->IncognitoEnableExtension(
profile, CreateFakeAppName(index));
« no previous file with comments | « chrome/browser/sync/test/integration/apps_helper.h ('k') | chrome/browser/sync/test/integration/extensions_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698