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

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

Issue 1756193008: Support uninstalling ARC app from Chrome launcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unittest, mojo callback Created 4 years, 9 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: 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 8f6fe71498544f4a84cbfd9388c462eb5689dfa5..56daea231af3f9b3d60b84a6b55a6083c2d2b667 100644
--- a/components/arc/test/fake_app_instance.cc
+++ b/components/arc/test/fake_app_instance.cc
@@ -133,4 +133,9 @@ void FakeAppInstance::CanHandleResolution(const mojo::String& package_name,
callback.Run(true);
}
+void FakeAppInstance::UninstallApp(const mojo::String& package_name,
+ const UninstallAppCallback& callback) {
+ callback.Run("success");
khmel 2016/03/07 21:11:52 Would be nice to test failure case too.
victorhsieh0 2016/03/07 23:54:43 I only added this to make it compile. arc_app_uti
khmel 2016/03/08 00:09:54 Sure,
+}
+
} // namespace arc
« chrome/browser/ui/app_list/arc/arc_app_test.cc ('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