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

Unified Diff: chrome/browser/chromeos/power/shutdown_client_impl.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/power/shutdown_client_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/power/shutdown_client_impl.cc
diff --git a/chrome/browser/chromeos/power/session_state_controller_delegate_chromeos.cc b/chrome/browser/chromeos/power/shutdown_client_impl.cc
similarity index 69%
rename from chrome/browser/chromeos/power/session_state_controller_delegate_chromeos.cc
rename to chrome/browser/chromeos/power/shutdown_client_impl.cc
index 326f22e9b2d8814212e797473f8c882b5af705d9..97995575f5641bed06eefa9a9c0f5d3863dd66ae 100644
--- a/chrome/browser/chromeos/power/session_state_controller_delegate_chromeos.cc
+++ b/chrome/browser/chromeos/power/shutdown_client_impl.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/chromeos/power/session_state_controller_delegate_chromeos.h"
+#include "chrome/browser/chromeos/power/shutdown_client_impl.h"
#include "base/logging.h"
#include "chrome/browser/chromeos/settings/cros_settings.h"
@@ -13,20 +13,15 @@
namespace chromeos {
-SessionStateControllerDelegateChromeos::SessionStateControllerDelegateChromeos()
- : weak_factory_(this) {
-}
+ShutdownClientImpl::ShutdownClientImpl() : weak_factory_(this) {}
-SessionStateControllerDelegateChromeos::
- ~SessionStateControllerDelegateChromeos() {
-}
+ShutdownClientImpl::~ShutdownClientImpl() {}
-void SessionStateControllerDelegateChromeos::RequestShutdown() {
+void ShutdownClientImpl::RequestShutdown() {
CrosSettings* cros_settings = CrosSettings::Get();
CrosSettingsProvider::TrustedStatus status =
cros_settings->PrepareTrustedValues(base::Bind(
- &SessionStateControllerDelegateChromeos::RequestShutdown,
- weak_factory_.GetWeakPtr()));
+ &ShutdownClientImpl::RequestShutdown, weak_factory_.GetWeakPtr()));
if (status != CrosSettingsProvider::TRUSTED)
return;
« no previous file with comments | « chrome/browser/chromeos/power/shutdown_client_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698