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

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

Issue 1764253002: Rename shell.mojom to connector.mojom, ApplicationManager to Shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@32exe
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/shell/shell_unittest_manifest.json ('k') | ui/views/mus/surface_context_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/tests/shell/target.cc
diff --git a/mojo/shell/tests/application_manager/target.cc b/mojo/shell/tests/shell/target.cc
similarity index 77%
rename from mojo/shell/tests/application_manager/target.cc
rename to mojo/shell/tests/shell/target.cc
index 25aba82ba78cf7424cae0a1a4c713e5aefc9dae6..d0eeca254420a8c090a102a03d17e196c5608180 100644
--- a/mojo/shell/tests/application_manager/target.cc
+++ b/mojo/shell/tests/shell/target.cc
@@ -10,9 +10,9 @@
#include "mojo/shell/public/cpp/shell_client.h"
#include "mojo/shell/runner/child/test_native_main.h"
#include "mojo/shell/runner/init.h"
-#include "mojo/shell/tests/application_manager/application_manager_unittest.mojom.h"
+#include "mojo/shell/tests/shell/shell_unittest.mojom.h"
-using mojo::shell::test::mojom::CreateInstanceForHandleTestPtr;
+using mojo::shell::test::mojom::CreateInstanceForFactoryTestPtr;
namespace {
@@ -25,9 +25,8 @@ class Target : public mojo::ShellClient {
// mojo::ShellClient:
void Initialize(mojo::Connector* connector, const std::string& name,
uint32_t id, uint32_t user_id) override {
- CreateInstanceForHandleTestPtr service;
- connector->ConnectToInterface("mojo:application_manager_unittest",
- &service);
+ CreateInstanceForFactoryTestPtr service;
+ connector->ConnectToInterface("mojo:shell_unittest", &service);
service->SetTargetID(id);
}
« no previous file with comments | « mojo/shell/tests/shell/shell_unittest_manifest.json ('k') | ui/views/mus/surface_context_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698