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

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

Issue 510943003: Register granting of previously withheld permissions as a permissions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve threading issues, add crx installer browser test Created 6 years, 3 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/crx_installer.h
diff --git a/chrome/browser/extensions/crx_installer.h b/chrome/browser/extensions/crx_installer.h
index 81a3b680a72f7b3849cdd1c8ecfabfa6d18c8e21..8f65605ac298b6910b17a874536b28caf2489cc3 100644
--- a/chrome/browser/extensions/crx_installer.h
+++ b/chrome/browser/extensions/crx_installer.h
@@ -229,6 +229,14 @@ class CrxInstaller
const Extension* extension,
const SkBitmap& install_icon) OVERRIDE;
+ // Initializes |install_checker_|'s extension's permissions to catch
+ // permission privilege increases due to granting of previously withheld
+ // permissions.
+ void InitializeExtensionPermissions();
+
+ // Calls AllowInstall after permissions are initialized and handles errors.
+ void ContinueUnpackSuccess();
+
// Called on the UI thread to start the requirements, policy and blacklist
// checks on the extension.
void CheckInstall();
« no previous file with comments | « no previous file | chrome/browser/extensions/crx_installer.cc » ('j') | chrome/browser/extensions/crx_installer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698