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

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
« no previous file with comments | « mojo/shell/standalone/context.cc ('k') | mojo/shell/tests/application_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9af94a1c302472fff2ec903230a1ee954d604145..82fa8bc1a50e597691665c8b244c42271bda6858 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.
« no previous file with comments | « mojo/shell/standalone/context.cc ('k') | mojo/shell/tests/application_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698