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

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

Issue 72463002: Move InstallObserver::OnBeginExtensionInstall parameters to a struct (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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/webstore_installer.cc
diff --git a/chrome/browser/extensions/webstore_installer.cc b/chrome/browser/extensions/webstore_installer.cc
index d4c9c2f0e3ddb70eefde3cd5dd499e46f0e5c3bc..851d4e4dd975cb337492ba55f9036e1a8deb67fd 100644
--- a/chrome/browser/extensions/webstore_installer.cc
+++ b/chrome/browser/extensions/webstore_installer.cc
@@ -301,9 +301,13 @@ void WebstoreInstaller::Start() {
}
extensions::InstallTracker* tracker =
extensions::InstallTrackerFactory::GetForProfile(profile_);
- tracker->OnBeginExtensionInstall(
- id_, name, approval_->installing_icon, approval_->manifest->is_app(),
+ extensions::InstallObserver::ExtensionInstallParams params(
+ id_,
+ name,
+ approval_->installing_icon,
+ approval_->manifest->is_app(),
approval_->manifest->is_platform_app());
+ tracker->OnBeginExtensionInstall(params);
}
void WebstoreInstaller::Observe(int type,
« no previous file with comments | « chrome/browser/extensions/install_tracker.cc ('k') | chrome/browser/ui/app_list/extension_app_model_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698