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

Unified Diff: chrome/browser/extensions/extension_service.cc

Issue 974713002: kiosk: Ensure launching latest version. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unittest compile Created 5 years, 10 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/extension_service.cc
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc
index df8a778493631bf4c29cdf86ea936649e80aef18..4a959e0305f34c9e83a9bdf92250fa2d9014e88b 100644
--- a/chrome/browser/extensions/extension_service.cc
+++ b/chrome/browser/extensions/extension_service.cc
@@ -2107,7 +2107,8 @@ bool ExtensionService::OnExternalExtensionFileFound(
const base::FilePath& path,
Manifest::Location location,
int creation_flags,
- bool mark_acknowledged) {
+ bool mark_acknowledged,
+ bool install_immediately) {
CHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
CHECK(crx_file::id_util::IdIsValid(id));
if (extension_prefs_->IsExternalExtensionUninstalled(id))
@@ -2158,6 +2159,7 @@ bool ExtensionService::OnExternalExtensionFileFound(
installer->set_expected_id(id);
installer->set_expected_version(*version);
installer->set_install_cause(extension_misc::INSTALL_CAUSE_EXTERNAL_FILE);
+ installer->set_install_immediately(install_immediately);
installer->set_creation_flags(creation_flags);
#if defined(OS_CHROMEOS)
extensions::InstallLimiter::Get(profile_)->Add(installer, path);
« no previous file with comments | « chrome/browser/extensions/extension_service.h ('k') | chrome/browser/extensions/extension_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698