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

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: 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..aaa4e52bb365fd45a56c0a83c2d1f7ca632cfce0 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,
vasilii 2013/08/02 09:32:04 const Reference. Do we really need std::set for 5
battre 2013/08/02 10:36:21 Done.
+ 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