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

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

Issue 2492063002: chromeos: Simplify ShutdownPolicyHandler
Patch Set: unused typedef 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 153
154 void SystemTrayDelegate::RemoveCustodianInfoTrayObserver( 154 void SystemTrayDelegate::RemoveCustodianInfoTrayObserver(
155 CustodianInfoTrayObserver* observer) {} 155 CustodianInfoTrayObserver* observer) {}
156 156
157 void SystemTrayDelegate::AddShutdownPolicyObserver( 157 void SystemTrayDelegate::AddShutdownPolicyObserver(
158 ShutdownPolicyObserver* observer) {} 158 ShutdownPolicyObserver* observer) {}
159 159
160 void SystemTrayDelegate::RemoveShutdownPolicyObserver( 160 void SystemTrayDelegate::RemoveShutdownPolicyObserver(
161 ShutdownPolicyObserver* observer) {} 161 ShutdownPolicyObserver* observer) {}
162 162
163 void SystemTrayDelegate::ShouldRebootOnShutdown( 163 void SystemTrayDelegate::CheckIfRebootOnShutdown() {}
164 const RebootOnShutdownCallback& callback) {}
165 164
166 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const { 165 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const {
167 return nullptr; 166 return nullptr;
168 } 167 }
169 168
170 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem( 169 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem(
171 SystemTray* tray) { 170 SystemTray* tray) {
172 return nullptr; 171 return nullptr;
173 } 172 }
174 173
175 } // namespace ash 174 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698