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

Unified Diff: extensions/browser/extension_prefs.h

Issue 1164603003: Remove ExtensionPrefs::SetDidExtensionEscalatePermissions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sync_permission_approval
Patch Set: Created 5 years, 7 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: extensions/browser/extension_prefs.h
diff --git a/extensions/browser/extension_prefs.h b/extensions/browser/extension_prefs.h
index 88ff025f2b21853549589d822f4353afcb1d2b3b..dc23b212957fc812c6cdc89f19470f4dcb6b2fdb 100644
--- a/extensions/browser/extension_prefs.h
+++ b/extensions/browser/extension_prefs.h
@@ -251,12 +251,6 @@ class ExtensionPrefs : public ExtensionScopedPrefs, public KeyedService {
// Did the extension ask to escalate its permission during an upgrade?
bool DidExtensionEscalatePermissions(const std::string& id) const;
- // If |did_escalate| is true, the preferences for |extension| will be set to
- // require the install warning when the user tries to enable.
- void SetDidExtensionEscalatePermissions(
- const Extension* extension,
- bool did_escalate);
-
// Getters and setters for disabled reason.
int GetDisableReasons(const std::string& extension_id) const;
bool HasDisableReason(const std::string& extension_id,

Powered by Google App Engine
This is Rietveld 408576698