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

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

Issue 2540433002: Reland "Propagate information about how ARC apps are launched" (Closed)
Patch Set: Fixed use-after-free 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 cdd1123f33e20d1453f90c603aee2fe0a1ddaea9..c60636793c858125700035285d2ad993bbf8b576 100644
--- a/chrome/browser/ui/app_list/arc/arc_app_unittest.cc
+++ b/chrome/browser/ui/app_list/arc/arc_app_unittest.cc
@@ -44,6 +44,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"
@@ -926,7 +927,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);
@@ -1002,7 +1003,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_session_manager()->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