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

Side by Side Diff: ash/common/system/tray/system_tray_delegate.cc

Issue 2492063002: chromeos: Simplify ShutdownPolicyHandler
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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/common/system/tray/system_tray_delegate.h" 5 #include "ash/common/system/tray/system_tray_delegate.h"
6 6
7 #include "ash/common/system/tray/ime_info.h" 7 #include "ash/common/system/tray/ime_info.h"
8 #include "ash/common/system/tray/system_tray_item.h" 8 #include "ash/common/system/tray/system_tray_item.h"
9 9
10 namespace ash { 10 namespace ash {
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 157
158 void SystemTrayDelegate::RemoveCustodianInfoTrayObserver( 158 void SystemTrayDelegate::RemoveCustodianInfoTrayObserver(
159 CustodianInfoTrayObserver* observer) {} 159 CustodianInfoTrayObserver* observer) {}
160 160
161 void SystemTrayDelegate::AddShutdownPolicyObserver( 161 void SystemTrayDelegate::AddShutdownPolicyObserver(
162 ShutdownPolicyObserver* observer) {} 162 ShutdownPolicyObserver* observer) {}
163 163
164 void SystemTrayDelegate::RemoveShutdownPolicyObserver( 164 void SystemTrayDelegate::RemoveShutdownPolicyObserver(
165 ShutdownPolicyObserver* observer) {} 165 ShutdownPolicyObserver* observer) {}
166 166
167 void SystemTrayDelegate::ShouldRebootOnShutdown( 167 void SystemTrayDelegate::CheckIfRebootOnShutdown() {}
168 const RebootOnShutdownCallback& callback) {}
169 168
170 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const { 169 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const {
171 return nullptr; 170 return nullptr;
172 } 171 }
173 172
174 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem( 173 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem(
175 SystemTray* tray) { 174 SystemTray* tray) {
176 return nullptr; 175 return nullptr;
177 } 176 }
178 177
179 } // namespace ash 178 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/system/tray/system_tray_delegate.h ('k') | chrome/browser/chromeos/settings/shutdown_policy_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698