| OLD | NEW |
| 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/system/tray/system_tray_delegate.h" | 5 #include "ash/system/tray/system_tray_delegate.h" |
| 6 | 6 |
| 7 namespace ash { | 7 namespace ash { |
| 8 | 8 |
| 9 NetworkIconInfo::NetworkIconInfo() | 9 NetworkIconInfo::NetworkIconInfo() |
| 10 : connecting(false), | 10 : connecting(false), |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 NetworkingConfigDelegate* SystemTrayDelegate::GetNetworkingConfigDelegate() | 231 NetworkingConfigDelegate* SystemTrayDelegate::GetNetworkingConfigDelegate() |
| 232 const { | 232 const { |
| 233 return nullptr; | 233 return nullptr; |
| 234 } | 234 } |
| 235 | 235 |
| 236 VolumeControlDelegate* SystemTrayDelegate::GetVolumeControlDelegate() const { | 236 VolumeControlDelegate* SystemTrayDelegate::GetVolumeControlDelegate() const { |
| 237 return nullptr; | 237 return nullptr; |
| 238 } | 238 } |
| 239 | 239 |
| 240 void SystemTrayDelegate::SetVolumeControlDelegate( | 240 void SystemTrayDelegate::SetVolumeControlDelegate( |
| 241 scoped_ptr<VolumeControlDelegate> delegate) { | 241 std::unique_ptr<VolumeControlDelegate> delegate) {} |
| 242 } | |
| 243 | 242 |
| 244 bool SystemTrayDelegate::GetSessionStartTime( | 243 bool SystemTrayDelegate::GetSessionStartTime( |
| 245 base::TimeTicks* session_start_time) { | 244 base::TimeTicks* session_start_time) { |
| 246 return false; | 245 return false; |
| 247 } | 246 } |
| 248 | 247 |
| 249 bool SystemTrayDelegate::GetSessionLengthLimit( | 248 bool SystemTrayDelegate::GetSessionLengthLimit( |
| 250 base::TimeDelta* session_length_limit) { | 249 base::TimeDelta* session_length_limit) { |
| 251 return false; | 250 return false; |
| 252 } | 251 } |
| (...skipping 27 matching lines...) Expand all Loading... |
| 280 | 279 |
| 281 void SystemTrayDelegate::ShouldRebootOnShutdown( | 280 void SystemTrayDelegate::ShouldRebootOnShutdown( |
| 282 const RebootOnShutdownCallback& callback) { | 281 const RebootOnShutdownCallback& callback) { |
| 283 } | 282 } |
| 284 | 283 |
| 285 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const { | 284 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const { |
| 286 return nullptr; | 285 return nullptr; |
| 287 } | 286 } |
| 288 | 287 |
| 289 } // namespace ash | 288 } // namespace ash |
| OLD | NEW |