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

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

Issue 69683002: Merge 233885 "Revert 231221 - "Remove enabled/disabled state fro..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1700/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/extensions_helper.h
===================================================================
--- chrome/browser/sync/test/integration/extensions_helper.h (revision 234311)
+++ chrome/browser/sync/test/integration/extensions_helper.h (working copy)
@@ -46,6 +46,12 @@
// Installs all pending synced extensions for |profile|.
void InstallExtensionsPendingForSync(Profile* profile);
+// Enables the extension for the given index on |profile|.
+void EnableExtension(Profile* profile, int index);
+
+// Disables the extension for the given index on |profile|.
+void DisableExtension(Profile* profile, int index);
+
// Returns true if the extension with index |index| is enabled on |profile|.
bool IsExtensionEnabled(Profile* profile, int index);
« no previous file with comments | « chrome/browser/sync/test/integration/apps_helper.cc ('k') | chrome/browser/sync/test/integration/extensions_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698