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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc

Issue 2330563002: [Merge-M54] arc: Make Play Store item persistent in app list. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_default_app_list.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc
index 1275526104d3c1789c2425b0d65fa889550a1a86..ba5e0720743f469aaadd96f7944230e9e93f3e0c 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc
@@ -876,10 +876,11 @@ class ChromeLauncherControllerImplTest : public BrowserWithTestWindowTest {
ArcAppListPrefs* const prefs = arc_test_.arc_app_list_prefs();
// Adding app to the prefs, and check that the app is accessible by id.
prefs->AddAppAndShortcut(
- app_info.name, app_info.package_name, app_info.activity,
- std::string() /* intent_uri */, std::string() /* icon_resource_id */,
- false /* sticky */, true /* notifications_enabled */,
- false /* shortcut */, true /* launchable */, app_info.orientation_lock);
+ true /* app_ready */, app_info.name, app_info.package_name,
+ app_info.activity, std::string() /* intent_uri */,
+ std::string() /* icon_resource_id */, false /* sticky */,
+ true /* notifications_enabled */, false /* shortcut */,
+ true /* launchable */, app_info.orientation_lock);
const std::string app_id =
ArcAppListPrefs::GetAppId(app_info.package_name, app_info.activity);
EXPECT_TRUE(prefs->GetApp(app_id));
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_default_app_list.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698