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

Unified Diff: ash/wm/shutdown_client_proxy.cc

Issue 2497123002: chromeos: Move device shutdown handling out of chrome into ash (Closed)
Patch Set: rebase Created 4 years, 1 month 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 | « ash/wm/shutdown_client_proxy.h ('k') | chrome/app/mash/chrome_mash_content_browser_manifest_overlay.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/shutdown_client_proxy.cc
diff --git a/ash/wm/shutdown_client_proxy.cc b/ash/wm/shutdown_client_proxy.cc
deleted file mode 100644
index 316df3a49abe9cb72d7c79e05c796e879076a600..0000000000000000000000000000000000000000
--- a/ash/wm/shutdown_client_proxy.cc
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright 2016 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 "ash/wm/shutdown_client_proxy.h"
-
-#include "ash/public/interfaces/shutdown.mojom.h"
-#include "services/service_manager/public/cpp/connector.h"
-
-namespace ash {
-
-ShutdownClientProxy::ShutdownClientProxy(service_manager::Connector* connector)
- : connector_(connector) {}
-
-ShutdownClientProxy::~ShutdownClientProxy() {}
-
-void ShutdownClientProxy::RequestShutdown() {
- mojom::ShutdownClientPtr client;
- connector_->ConnectToInterface("service:content_browser", &client);
- client->RequestShutdown();
-}
-
-} // namespace ash
« no previous file with comments | « ash/wm/shutdown_client_proxy.h ('k') | chrome/app/mash/chrome_mash_content_browser_manifest_overlay.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698