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

Unified Diff: ash/wm/shutdown_client_proxy.h

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/lock_state_controller_unittest.cc ('k') | ash/wm/shutdown_client_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/shutdown_client_proxy.h
diff --git a/ash/wm/shutdown_client_proxy.h b/ash/wm/shutdown_client_proxy.h
deleted file mode 100644
index df5148a73ee9d500f0c1d2ad90e78ff0304010c2..0000000000000000000000000000000000000000
--- a/ash/wm/shutdown_client_proxy.h
+++ /dev/null
@@ -1,37 +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.
-
-#ifndef ASH_WM_SHUTDOWN_CLIENT_PROXY_H_
-#define ASH_WM_SHUTDOWN_CLIENT_PROXY_H_
-
-#include "ash/public/interfaces/shutdown.mojom.h"
-#include "base/macros.h"
-
-namespace service_manager {
-class Connector;
-}
-
-namespace ash {
-
-// A ShutdownClientProxy which lazily connects to an exported
-// mojom::ShutdownClient in "service:content_browser" on each use. This exists
-// so we can replace an instance of this class with a TestShutdownClient in
-// tests.
-class ShutdownClientProxy : public mojom::ShutdownClient {
- public:
- explicit ShutdownClientProxy(service_manager::Connector* connector);
- ~ShutdownClientProxy() override;
-
- // mojom::ShutdownClient:
- void RequestShutdown() override;
-
- private:
- service_manager::Connector* connector_;
-
- DISALLOW_COPY_AND_ASSIGN(ShutdownClientProxy);
-};
-
-} // namespace ash
-
-#endif // ASH_WM_SHUTDOWN_CLIENT_PROXY_H_
« no previous file with comments | « ash/wm/lock_state_controller_unittest.cc ('k') | ash/wm/shutdown_client_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698