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

Unified Diff: mojo/shell/tests/application_manager/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
Index: mojo/shell/tests/application_manager/target.cc
diff --git a/mojo/shell/tests/application_manager/target.cc b/mojo/shell/tests/application_manager/target.cc
deleted file mode 100644
index 25aba82ba78cf7424cae0a1a4c713e5aefc9dae6..0000000000000000000000000000000000000000
--- a/mojo/shell/tests/application_manager/target.cc
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "base/at_exit.h"
-#include "base/command_line.h"
-#include "base/macros.h"
-#include "mojo/shell/public/cpp/connection.h"
-#include "mojo/shell/public/cpp/connector.h"
-#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"
-
-using mojo::shell::test::mojom::CreateInstanceForHandleTestPtr;
-
-namespace {
-
-class Target : public mojo::ShellClient {
- public:
- Target() {}
- ~Target() override {}
-
- private:
- // 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);
- service->SetTargetID(id);
- }
-
- DISALLOW_COPY_AND_ASSIGN(Target);
-};
-
-} // namespace
-
-int main(int argc, char** argv) {
- base::AtExitManager at_exit;
- base::CommandLine::Init(argc, argv);
-
- mojo::shell::InitializeLogging();
-
- Target target;
- return mojo::shell::TestNativeMain(&target);
-}
« no previous file with comments | « mojo/shell/tests/application_manager/driver_manifest.json ('k') | mojo/shell/tests/connect/connect_test_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698