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

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

Issue 1867223004: Convert //ash from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 #ifndef ASH_SYSTEM_WIN_AUDIO_TRAY_AUDIO_WIN_H_ 5 #ifndef ASH_SYSTEM_WIN_AUDIO_TRAY_AUDIO_WIN_H_
6 #define ASH_SYSTEM_WIN_AUDIO_TRAY_AUDIO_WIN_H_ 6 #define ASH_SYSTEM_WIN_AUDIO_TRAY_AUDIO_WIN_H_
7 7
8 #include <memory>
oshima 2016/04/08 07:09:42 remove this?
9
8 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
9 #include "ash/system/audio/tray_audio.h" 11 #include "ash/system/audio/tray_audio.h"
10 #include "base/macros.h" 12 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h"
12 13
13 namespace ash { 14 namespace ash {
14 15
15 class TrayAudioWin : public TrayAudio { 16 class TrayAudioWin : public TrayAudio {
16 public: 17 public:
17 explicit TrayAudioWin(SystemTray* system_tray); 18 explicit TrayAudioWin(SystemTray* system_tray);
18 ~TrayAudioWin() override; 19 ~TrayAudioWin() override;
19 20
20 private: 21 private:
21 DISALLOW_COPY_AND_ASSIGN(TrayAudioWin); 22 DISALLOW_COPY_AND_ASSIGN(TrayAudioWin);
22 }; 23 };
23 24
24 } // namespace ash 25 } // namespace ash
25 26
26 #endif // ASH_SYSTEM_WIN_AUDIO_TRAY_AUDIO_WIN_H_ 27 #endif // ASH_SYSTEM_WIN_AUDIO_TRAY_AUDIO_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698