OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/win/audio/tray_audio_win.h" | 5 #include "ash/system/win/audio/tray_audio_win.h" |
6 | 6 |
| 7 #include <memory> |
| 8 |
7 #include "ash/system/win/audio/tray_audio_delegate_win.h" | 9 #include "ash/system/win/audio/tray_audio_delegate_win.h" |
8 | 10 |
9 namespace ash { | 11 namespace ash { |
10 | 12 |
11 using system::TrayAudioDelegate; | 13 using system::TrayAudioDelegate; |
12 using system::TrayAudioDelegateWin; | 14 using system::TrayAudioDelegateWin; |
13 | 15 |
14 TrayAudioWin::TrayAudioWin(SystemTray* system_tray) | 16 TrayAudioWin::TrayAudioWin(SystemTray* system_tray) |
15 : TrayAudio(system_tray, | 17 : TrayAudio( |
16 scoped_ptr<TrayAudioDelegate>(new TrayAudioDelegateWin())) { | 18 system_tray, |
17 } | 19 std::unique_ptr<TrayAudioDelegate>(new TrayAudioDelegateWin())) {} |
18 | 20 |
19 TrayAudioWin::~TrayAudioWin() { | 21 TrayAudioWin::~TrayAudioWin() { |
20 } | 22 } |
21 | 23 |
22 } // namespace ash | 24 } // namespace ash |
OLD | NEW |