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

Unified Diff: mojo/shell/tests/application_manager_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
Index: mojo/shell/tests/application_manager_apptest.cc
diff --git a/mojo/shell/tests/application_manager_apptest.cc b/mojo/shell/tests/application_manager_apptest.cc
index 367b8fa93fea829fe26d3f2586301af8b6b35abe..9ebc076c59eafc2e70d9cde69e2160eb36bf47d3 100644
--- a/mojo/shell/tests/application_manager_apptest.cc
+++ b/mojo/shell/tests/application_manager_apptest.cc
@@ -30,7 +30,7 @@ class ApplicationManagerAppTestDelegate
public CreateInstanceForHandleTest {
public:
ApplicationManagerAppTestDelegate()
- : target_id_(mojom::Shell::kInvalidApplicationID),
+ : target_id_(mojom::Connector::kInvalidApplicationID),
binding_(this) {}
~ApplicationManagerAppTestDelegate() override {}
@@ -176,9 +176,9 @@ TEST_F(ApplicationManagerAppTest, CreateInstanceForHandle) {
// mojo:application_manager_apptests)
base::MessageLoop::current()->Run();
- uint32_t remote_id = mojom::Shell::kInvalidApplicationID;
+ uint32_t remote_id = mojom::Connector::kInvalidApplicationID;
EXPECT_TRUE(connection->GetRemoteApplicationID(&remote_id));
- EXPECT_NE(mojom::Shell::kInvalidApplicationID, remote_id);
+ EXPECT_NE(mojom::Connector::kInvalidApplicationID, remote_id);
// 3. Validate that this test suite's URL was received from the application
// manager.

Powered by Google App Engine
This is Rietveld 408576698