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

Unified Diff: mojo/shell/tests/package_apptest.cc

Issue 1728083002: Extract a Connector interface from Shell that can be cloned & passed to other threads (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@12uid
Patch Set: . Created 4 years, 10 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
« no previous file with comments | « mojo/shell/tests/capability_filter_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/tests/package_apptest.cc
diff --git a/mojo/shell/tests/package_apptest.cc b/mojo/shell/tests/package_apptest.cc
index b29bc025a5131524574fb769f10f81b972b6c569..ecdb0d9a7faeb8afbb454c371ab78dcf60b4c285 100644
--- a/mojo/shell/tests/package_apptest.cc
+++ b/mojo/shell/tests/package_apptest.cc
@@ -44,7 +44,7 @@ TEST_F(PackageApptest, Basic) {
std::string root_name;
root_service->GetName(base::Bind(&ReceiveName, &root_name, &run_loop));
run_loop.Run();
- uint32_t id = mojom::Shell::kInvalidApplicationID;
+ uint32_t id = mojom::Connector::kInvalidApplicationID;
EXPECT_TRUE(connection->GetRemoteApplicationID(&id));
ids.insert(id);
}
@@ -60,7 +60,7 @@ TEST_F(PackageApptest, Basic) {
service_a->GetName(base::Bind(&ReceiveName, &a_name, &run_loop));
run_loop.Run();
EXPECT_EQ("A", a_name);
- uint32_t id = mojom::Shell::kInvalidApplicationID;
+ uint32_t id = mojom::Connector::kInvalidApplicationID;
EXPECT_TRUE(connection->GetRemoteApplicationID(&id));
ids.insert(id);
}
@@ -74,7 +74,7 @@ TEST_F(PackageApptest, Basic) {
service_b->GetName(base::Bind(&ReceiveName, &b_name, &run_loop));
run_loop.Run();
EXPECT_EQ("B", b_name);
- uint32_t id = mojom::Shell::kInvalidApplicationID;
+ uint32_t id = mojom::Connector::kInvalidApplicationID;
EXPECT_TRUE(connection->GetRemoteApplicationID(&id));
ids.insert(id);
}
« no previous file with comments | « mojo/shell/tests/capability_filter_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698