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

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: review Created 5 years, 6 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
« no previous file with comments | « chrome/browser/extensions/extension_service_unittest.cc ('k') | extensions/browser/extension_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_prefs.h
diff --git a/extensions/browser/extension_prefs.h b/extensions/browser/extension_prefs.h
index 9cd810e7ea6afba5d569e9121672b41857f16c6f..80507895954f7283b5bc675e70e653f7d91cd085 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,
« no previous file with comments | « chrome/browser/extensions/extension_service_unittest.cc ('k') | extensions/browser/extension_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698