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

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

Issue 2503633003: arc: enable use_new_wrapper_types for app.mojom (Closed)
Patch Set: rebase again Created 4 years, 1 month 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/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..75744d5ce51a3d398af10283682eb9f339ed037a 100644
--- a/chrome/browser/ui/app_list/arc/arc_app_unittest.cc
+++ b/chrome/browser/ui/app_list/arc/arc_app_unittest.cc
@@ -661,12 +661,12 @@ TEST_F(ArcAppModelBuilderTest, LaunchShortcuts) {
item_last->Activate(0);
item_first->Activate(0);
- const std::vector<std::unique_ptr<mojo::String>>& launch_intents =
+ const std::vector<std::string>& launch_intents =
app_instance()->launch_intents();
ASSERT_EQ(3u, launch_intents.size());
- EXPECT_EQ(app_first.intent_uri, *launch_intents[0]);
- EXPECT_EQ(app_last.intent_uri, *launch_intents[1]);
- EXPECT_EQ(app_first.intent_uri, *launch_intents[2]);
+ EXPECT_EQ(app_first.intent_uri, launch_intents[0]);
+ EXPECT_EQ(app_last.intent_uri, launch_intents[1]);
+ EXPECT_EQ(app_first.intent_uri, launch_intents[2]);
// Test an attempt to launch of a not-ready shortcut.
arc_test()->StopArcInstance();
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc ('k') | chrome/browser/ui/ash/launcher/arc_app_launcher_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698