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

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

Issue 470663002: ash: Remove a few unused includes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « ash/system/user/accounts_detailed_view.cc ('k') | ash/tooltips/tooltip_controller_unittest.cc » ('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_delegate_win.h" 5 #include "ash/system/win/audio/tray_audio_delegate_win.h"
6 6
7 #include <audiopolicy.h> 7 #include <audiopolicy.h>
8 #include <cmath> 8 #include <cmath>
9 9
10 #include "grit/ash_resources.h"
11 #include "grit/ash_strings.h"
12 #include "media/audio/win/core_audio_util_win.h" 10 #include "media/audio/win/core_audio_util_win.h"
13 11
14 using base::win::ScopedComPtr; 12 using base::win::ScopedComPtr;
15 13
16 namespace { 14 namespace {
17 15
18 // Volume value which should be considered as muted in range [0, 100]. 16 // Volume value which should be considered as muted in range [0, 100].
19 const int kMuteThresholdPercent = 1; 17 const int kMuteThresholdPercent = 1;
20 18
21 // Lowest volume which is considered to be audible in the range [0, 100]. 19 // Lowest volume which is considered to be audible in the range [0, 100].
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 } 106 }
109 107
110 session_manager->GetSimpleAudioVolume(NULL, FALSE, 108 session_manager->GetSimpleAudioVolume(NULL, FALSE,
111 volume_control.Receive()); 109 volume_control.Receive());
112 110
113 return volume_control; 111 return volume_control;
114 } 112 }
115 113
116 } // namespace system 114 } // namespace system
117 } // namespace ash 115 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/user/accounts_detailed_view.cc ('k') | ash/tooltips/tooltip_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698