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

Unified Diff: components/arc/test/fake_app_instance.cc

Issue 2228663003: arc: Add package app list updated event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« components/arc/common/app.mojom ('K') | « components/arc/test/fake_app_instance.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/test/fake_app_instance.cc
diff --git a/components/arc/test/fake_app_instance.cc b/components/arc/test/fake_app_instance.cc
index c9c06c64c59265b6d50f7997cdefbc872d552958..f60427bf8356c115a9c5d00a24cd057036564451 100644
--- a/components/arc/test/fake_app_instance.cc
+++ b/components/arc/test/fake_app_instance.cc
@@ -63,6 +63,14 @@ void FakeAppInstance::SendRefreshAppList(
app_host_->OnAppListRefreshed(mojo::Array<mojom::AppInfoPtr>::From(apps));
}
+void FakeAppInstance::SendPackageAppListRefreshed(
+ const mojo::String& package_name,
+ const std::vector<mojom::AppInfo>& apps) {
+ app_host_->OnPackageAppListRefreshed(
+ package_name,
+ mojo::Array<mojom::AppInfoPtr>::From(apps));
+}
+
void FakeAppInstance::SendInstallShortcuts(
const std::vector<mojom::ShortcutInfo>& shortcuts) {
for (auto& shortcut : shortcuts) {
« components/arc/common/app.mojom ('K') | « components/arc/test/fake_app_instance.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698