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 5ffa05cef0592f3eea65d6f2328119e7f1924e87..e9555094efd13075f484bc6a294c8874659a5cec 100644 |
--- a/components/arc/test/fake_app_instance.cc |
+++ b/components/arc/test/fake_app_instance.cc |
@@ -119,6 +119,12 @@ bool FakeAppInstance::GenerateAndSendIcon(const mojom::AppInfo& app, |
return true; |
} |
+void FakeAppInstance::GenerateAndSendBadIcon(const mojom::AppInfo& app, |
+ mojom::ScaleFactor scale_factor) { |
+ std::vector<uint8_t> badIcon(10, 1); |
+ app_host_->OnAppIcon(app.package_name, app.activity, scale_factor, badIcon); |
+} |
+ |
bool FakeAppInstance::GetFakeIcon(mojom::ScaleFactor scale_factor, |
std::string* png_data_as_string) { |
CHECK(png_data_as_string != nullptr); |