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

Unified Diff: mandoline/services/updater/updater_app.cc

Issue 1677293002: Bye bye Mandoline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar 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 | « mandoline/services/updater/updater_app.h ('k') | mandoline/services/updater/updater_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/services/updater/updater_app.cc
diff --git a/mandoline/services/updater/updater_app.cc b/mandoline/services/updater/updater_app.cc
deleted file mode 100644
index ffb94931c2b17652b7f7e948049ddbe08cdc6108..0000000000000000000000000000000000000000
--- a/mandoline/services/updater/updater_app.cc
+++ /dev/null
@@ -1,44 +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 "mandoline/services/updater/updater_app.h"
-
-#include <utility>
-
-#include "base/logging.h"
-#include "mandoline/services/updater/updater_impl.h"
-#include "mojo/public/c/system/main.h"
-#include "mojo/shell/public/cpp/application_runner.h"
-#include "mojo/shell/public/cpp/connection.h"
-#include "mojo/shell/public/cpp/shell.h"
-
-namespace updater {
-
-UpdaterApp::UpdaterApp() : shell_(nullptr) {
-}
-
-UpdaterApp::~UpdaterApp() {
-}
-
-void UpdaterApp::Initialize(mojo::Shell* shell, const std::string& url,
- uint32_t id) {
- shell_ = shell;
-}
-
-bool UpdaterApp::AcceptConnection(mojo::Connection* connection) {
- connection->AddService<Updater>(this);
- return true;
-}
-
-void UpdaterApp::Create(mojo::Connection* connection,
- mojo::InterfaceRequest<Updater> request) {
- new UpdaterImpl(this, std::move(request));
-}
-
-} // namespace updater
-
-MojoResult MojoMain(MojoHandle shell_handle) {
- mojo::ApplicationRunner runner(new updater::UpdaterApp);
- return runner.Run(shell_handle);
-}
« no previous file with comments | « mandoline/services/updater/updater_app.h ('k') | mandoline/services/updater/updater_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698