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

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

Issue 9960087: Revert 13676 - Revert 131665 - Add a preference for why an extension is disabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/browser/sync/test/integration/sync_extension_helper.cc
diff --git a/chrome/browser/sync/test/integration/sync_extension_helper.cc b/chrome/browser/sync/test/integration/sync_extension_helper.cc
index f1d8b777eb3745397cfa75b26712d00981710d65..41db6640038e666a9c2550ab69f2f0109ebadcd0 100644
--- a/chrome/browser/sync/test/integration/sync_extension_helper.cc
+++ b/chrome/browser/sync/test/integration/sync_extension_helper.cc
@@ -101,7 +101,8 @@ void SyncExtensionHelper::EnableExtension(Profile* profile,
void SyncExtensionHelper::DisableExtension(Profile* profile,
const std::string& name) {
- profile->GetExtensionService()->DisableExtension(NameToId(name));
+ profile->GetExtensionService()->DisableExtension(
+ NameToId(name), Extension::DISABLE_USER_ACTION);
}
bool SyncExtensionHelper::IsExtensionEnabled(

Powered by Google App Engine
This is Rietveld 408576698