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

Unified Diff: chrome/browser/sync/test/integration/sync_extension_helper.h

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/sync_extension_helper.h
diff --git a/chrome/browser/sync/test/integration/sync_extension_helper.h b/chrome/browser/sync/test/integration/sync_extension_helper.h
index f57bf5ab2919ef90f52a126b2c0bb4466e4c997a..0ed38244944434a6dcedb29357d6cf618a2a9f6f 100644
--- a/chrome/browser/sync/test/integration/sync_extension_helper.h
+++ b/chrome/browser/sync/test/integration/sync_extension_helper.h
@@ -44,6 +44,12 @@ class SyncExtensionHelper {
// on |profile|.
std::vector<std::string> GetInstalledExtensionNames(Profile* profile) const;
+ // Enables the extension with the given name on |profile|.
+ void EnableExtension(Profile* profile, const std::string& name);
+
+ // Disables the extension with the given name on |profile|.
+ void DisableExtension(Profile* profile, const std::string& name);
+
// Returns true if the extension with the given name is enabled on |profile|.
bool IsExtensionEnabled(Profile* profile, const std::string& name) const;

Powered by Google App Engine
This is Rietveld 408576698