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

Unified Diff: chrome/browser/chromeos/app_mode/kiosk_external_update_validator.h

Issue 2788563002: Transfer DictionaryValue ownership in SandboxedUnpacker::OnUnpackSuccess() (Closed)
Patch Set: address comments Created 3 years, 9 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/chromeos/app_mode/kiosk_external_update_validator.h
diff --git a/chrome/browser/chromeos/app_mode/kiosk_external_update_validator.h b/chrome/browser/chromeos/app_mode/kiosk_external_update_validator.h
index b5c9287d3e54b7aec3fc959e07a542688c135bf7..5946545ee10fd6b96fb007fa31ec751c6a8fd2ef 100644
--- a/chrome/browser/chromeos/app_mode/kiosk_external_update_validator.h
+++ b/chrome/browser/chromeos/app_mode/kiosk_external_update_validator.h
@@ -54,7 +54,7 @@ class KioskExternalUpdateValidator
void OnUnpackFailure(const extensions::CrxInstallError& error) override;
void OnUnpackSuccess(const base::FilePath& temp_dir,
const base::FilePath& extension_dir,
- const base::DictionaryValue* original_manifest,
+ std::unique_ptr<base::DictionaryValue> original_manifest,
const extensions::Extension* extension,
const SkBitmap& install_icon) override;

Powered by Google App Engine
This is Rietveld 408576698