| 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/test_system_tray_delegate.h" | 5 #include "ash/system/tray/test_system_tray_delegate.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "ash/shell.h" | 9 #include "ash/shell.h" |
| 10 #include "ash/shell_delegate.h" | 10 #include "ash/shell_delegate.h" |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 VolumeControlDelegate* TestSystemTrayDelegate::GetVolumeControlDelegate() | 296 VolumeControlDelegate* TestSystemTrayDelegate::GetVolumeControlDelegate() |
| 297 const { | 297 const { |
| 298 return volume_control_delegate_.get(); | 298 return volume_control_delegate_.get(); |
| 299 } | 299 } |
| 300 | 300 |
| 301 void TestSystemTrayDelegate::SetVolumeControlDelegate( | 301 void TestSystemTrayDelegate::SetVolumeControlDelegate( |
| 302 scoped_ptr<VolumeControlDelegate> delegate) { | 302 scoped_ptr<VolumeControlDelegate> delegate) { |
| 303 volume_control_delegate_ = delegate.Pass(); | 303 volume_control_delegate_ = delegate.Pass(); |
| 304 } | 304 } |
| 305 | 305 |
| 306 base::Time TestSystemTrayDelegate::GetSessionStartTime() { |
| 307 return base::Time(); |
| 308 } |
| 309 |
| 310 base::TimeDelta TestSystemTrayDelegate::GetSessionLengthLimit() { |
| 311 return base::TimeDelta(); |
| 312 } |
| 313 |
| 306 } // namespace test | 314 } // namespace test |
| 307 } // namespace ash | 315 } // namespace ash |
| OLD | NEW |