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

Side by Side Diff: chrome/browser/chromeos/audio/audio_pref_handler_impl.cc

Issue 18640003: Updates some includes of chrome_notification_types.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "chrome/browser/chromeos/audio/audio_pref_handler_impl.h" 5 #include "chrome/browser/chromeos/audio/audio_pref_handler_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cmath> 8 #include <cmath>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/prefs/pref_registry_simple.h" 13 #include "base/prefs/pref_registry_simple.h"
14 #include "base/prefs/pref_service.h" 14 #include "base/prefs/pref_service.h"
15 #include "chrome/common/chrome_notification_types.h" 15 #include "chrome/browser/chrome_notification_types.h"
16 #include "chrome/common/pref_names.h" 16 #include "chrome/common/pref_names.h"
17 17
18 using std::max; 18 using std::max;
19 using std::min; 19 using std::min;
20 20
21 namespace chromeos { 21 namespace chromeos {
22 22
23 namespace { 23 namespace {
24 24
25 // Default value for the volume pref, as a percent in the range [0.0, 100.0]. 25 // Default value for the volume pref, as a percent in the range [0.0, 100.0].
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // before we use it. 100 // before we use it.
101 registry->RegisterBooleanPref(::prefs::kAudioCaptureAllowed, true); 101 registry->RegisterBooleanPref(::prefs::kAudioCaptureAllowed, true);
102 } 102 }
103 103
104 // static 104 // static
105 AudioPrefHandler* AudioPrefHandler::Create(PrefService* local_state) { 105 AudioPrefHandler* AudioPrefHandler::Create(PrefService* local_state) {
106 return new AudioPrefHandlerImpl(local_state); 106 return new AudioPrefHandlerImpl(local_state);
107 } 107 }
108 108
109 } // namespace chromeos 109 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/audio/audio_handler.cc ('k') | chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698