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

Unified Diff: chrome/browser/extensions/extension_service.h

Issue 21779002: Don't disable packaged / hosted Apps on profile_reset (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit Created 7 years, 5 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/extensions/extension_service.h
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index 15645875447357ba74104449b8a584ce725fe9b2..b648d1752d3b2f05fdba14fb1869cfdfdd6d27e0 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -353,8 +353,10 @@ class ExtensionService
extensions::Extension::DisableReason disable_reason);
// Disable non-builtin and non-managed extensions with ids not in
- // |except_ids|.
- void DisableUserExtensions(const std::vector<std::string>& except_ids);
+ // |except_ids| and whose type is contained in |type_filter|.
+ void DisableUserExtensions(
+ const std::set<extensions::Manifest::Type>& type_filter,
+ const std::vector<std::string>& except_ids);
// Updates the |extension|'s granted permissions lists to include all
// permissions in the |extension|'s manifest and re-enables the
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_service.cc » ('j') | chrome/browser/extensions/extension_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698