Index: extensions/browser/extension_prefs.h |
diff --git a/extensions/browser/extension_prefs.h b/extensions/browser/extension_prefs.h |
index 4c6adf698cea0c45e5cd995292139c9fe9575fcc..fcb6882318fc71d5433f091f95b208742eb580fa 100644 |
--- a/extensions/browser/extension_prefs.h |
+++ b/extensions/browser/extension_prefs.h |
@@ -561,6 +561,11 @@ class ExtensionPrefs : public ExtensionScopedPrefs, public KeyedService { |
void SetInstallParam(const std::string& extension_id, |
const std::string& install_parameter); |
+ // The total number of times we've disabled an extension due to corrupted |
+ // contents. |
+ int GetCorruptedDisableCount(); |
+ void IncrementCorruptedDisableCount(); |
+ |
private: |
friend class ExtensionPrefsBlacklistedExtensions; // Unit test. |
friend class ExtensionPrefsUninstallExtension; // Unit test. |