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

Side by Side Diff: ash/wm/shutdown_client_proxy.cc

Issue 2471643002: mash: remove the LockStateControllerDelegate. (Closed)
Patch Set: sky comments 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ash/wm/shutdown_client_proxy.h"
6
7 #include "ash/public/interfaces/shutdown.mojom.h"
8 #include "services/service_manager/public/cpp/connector.h"
9
10 namespace ash {
11
12 ShutdownClientProxy::ShutdownClientProxy(service_manager::Connector* connector)
13 : connector_(connector) {}
14
15 ShutdownClientProxy::~ShutdownClientProxy() {}
16
17 void ShutdownClientProxy::RequestShutdown() {
18 mojom::ShutdownClientPtr client;
19 connector_->ConnectToInterface("service:content_browser", &client);
20 client->RequestShutdown();
21 }
22
23 } // namespace ash
OLDNEW
« 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