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

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

Issue 2308643002: arc: Make Play Store item persistent in app list. (Closed)
Patch Set: cleanup 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
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 3d07dc8f77c0bc30b7060384c6a865fdb4cd6fc1..3c7112879d11c4cf5d58e91e446f02cee6e64fd3 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
@@ -873,10 +873,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));

Powered by Google App Engine
This is Rietveld 408576698