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

Side by Side Diff: ash/system/win/audio/tray_audio_win.cc

Issue 1867223004: Convert //ash from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 8 months 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
« no previous file with comments | « ash/system/win/audio/tray_audio_win.h ('k') | ash/test/ash_test_base.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « ash/system/win/audio/tray_audio_win.h ('k') | ash/test/ash_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698