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

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

Issue 2329513002: [Merge-M53] 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 0c3522970ddff8a45477e1307bcd5cc34a8514cb..fb86016aa60758582c541d3f5cfb1849f43928d2 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
@@ -893,10 +893,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