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

Unified Diff: chrome/browser/ui/app_list/extension_app_model_builder_unittest.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/ui/app_list/extension_app_model_builder_unittest.cc
diff --git a/chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc b/chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc
index 2354c83e45ebb838bc589a780266f74c6db08ca0..63eb900461c6a56d6d8c027a27cf23f2dccfbbb9 100644
--- a/chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc
+++ b/chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc
@@ -191,8 +191,9 @@ TEST_F(ExtensionAppModelBuilderTest, Reinstall) {
// Install kPackagedApp1Id again should not create a new entry.
extensions::InstallTracker* tracker =
extensions::InstallTrackerFactory::GetForProfile(profile_.get());
- tracker->OnBeginExtensionInstall(
+ extensions::InstallObserver::ExtensionInstallParams params(
kPackagedApp1Id, "", gfx::ImageSkia(), true, true);
+ tracker->OnBeginExtensionInstall(params);
EXPECT_EQ(std::string(kDefaultApps), GetModelContent(model_.get()));
}
« no previous file with comments | « chrome/browser/ui/app_list/extension_app_model_builder.cc ('k') | chrome/browser/ui/app_list/recommended_apps.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698