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

Unified Diff: chrome/browser/ui/app_list/arc/arc_app_unittest.cc

Issue 2553673003: [Merge to M55] Reland "Propagate information about how ARC apps are launched" (Closed)
Patch Set: Created 4 years 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_app_item.cc ('k') | chrome/browser/ui/app_list/arc/arc_app_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/arc/arc_app_unittest.cc
diff --git a/chrome/browser/ui/app_list/arc/arc_app_unittest.cc b/chrome/browser/ui/app_list/arc/arc_app_unittest.cc
index a1dd3c8461279795f0ed65ac80c4b1e1c9d520b3..a74460e3fa66717cd402ad453dbf8f7e86401483 100644
--- a/chrome/browser/ui/app_list/arc/arc_app_unittest.cc
+++ b/chrome/browser/ui/app_list/arc/arc_app_unittest.cc
@@ -42,6 +42,7 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/app_list/app_list_constants.h"
#include "ui/app_list/app_list_model.h"
+#include "ui/events/event_constants.h"
#include "ui/gfx/geometry/safe_integer_conversions.h"
#include "ui/gfx/image/image_skia.h"
@@ -905,7 +906,7 @@ TEST_F(ArcAppModelBuilderTest, LastLaunchTime) {
EXPECT_EQ(base::Time(), app_info->last_launch_time);
base::Time time_before = base::Time::Now();
- arc::LaunchApp(profile(), id2);
+ arc::LaunchApp(profile(), id2, ui::EF_NONE);
base::Time time_after = base::Time::Now();
app_info = prefs->GetApp(id2);
@@ -947,7 +948,7 @@ TEST_F(ArcPlayStoreAppTest, PlayStore) {
ASSERT_TRUE(app_info);
EXPECT_FALSE(app_info->ready);
- arc::LaunchApp(profile(), arc::kPlayStoreAppId);
+ arc::LaunchApp(profile(), arc::kPlayStoreAppId, ui::EF_NONE);
EXPECT_TRUE(arc_test()->arc_auth_service()->IsArcEnabled());
}
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_app_item.cc ('k') | chrome/browser/ui/app_list/arc/arc_app_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698