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

Unified Diff: chrome/browser/ui/app_list/arc/arc_app_test.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: chrome/browser/ui/app_list/arc/arc_app_test.cc
diff --git a/chrome/browser/ui/app_list/arc/arc_app_test.cc b/chrome/browser/ui/app_list/arc/arc_app_test.cc
index c237cfcb69a0b1b0f9731a9c17dd8eb2f4cd9b37..fa5ea7f2f971ec5c7959c0b4f9dac897aae489a7 100644
--- a/chrome/browser/ui/app_list/arc/arc_app_test.cc
+++ b/chrome/browser/ui/app_list/arc/arc_app_test.cc
@@ -27,12 +27,20 @@ void ArcAppTest::SetUp(content::BrowserContext* browser_context) {
DCHECK(!browser_context_);
browser_context_ = browser_context;
+ arc::AppInfo store_app;
khmel 2016/03/07 21:11:52 nit: Can we do it more gracefully? For example ge
victorhsieh0 2016/03/07 23:54:43 Done. We don't need that package_name.
+ store_app.name = "Store";
+ store_app.package_name = "com.android.vending";
+ store_app.activity = "com.android.vending.activity";
+ store_app.sticky = true;
+ fake_apps_.push_back(store_app);
+
// Make sure we have enough data for test.
for (int i = 0; i < 3; ++i) {
arc::AppInfo app;
app.name = base::StringPrintf("Fake App %d", i);
app.package_name = base::StringPrintf("fake.app.%d", i);
app.activity = base::StringPrintf("fake.app.%d.activity", i);
+ app.sticky = false;
fake_apps_.push_back(app);
}

Powered by Google App Engine
This is Rietveld 408576698