Chromium Code Reviews| 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 4b4cdee92e08ddda9790e1c0aa115731be880b26..5c2eb2a80e53c74e93c9efb0347759062259e207 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); |
|
Mr4D (OOO till 08-26)
2016/09/07 02:24:05
BTW: It would be much better readible when each pa
khmel
2016/09/07 14:59:19
I understand your point, but requested before comm
|
| const std::string app_id = |
| ArcAppListPrefs::GetAppId(app_info.package_name, app_info.activity); |
| EXPECT_TRUE(prefs->GetApp(app_id)); |