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

Side by Side Diff: media/audio/android/audio_manager_android.cc

Issue 1475773002: Add context_utils.h includes where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "media/audio/android/audio_manager_android.h" 5 #include "media/audio/android/audio_manager_android.h"
6 6
7 #include "base/android/build_info.h" 7 #include "base/android/build_info.h"
8 #include "base/android/context_utils.h"
8 #include "base/android/jni_array.h" 9 #include "base/android/jni_array.h"
9 #include "base/android/jni_string.h" 10 #include "base/android/jni_string.h"
10 #include "base/android/scoped_java_ref.h" 11 #include "base/android/scoped_java_ref.h"
11 #include "base/bind.h" 12 #include "base/bind.h"
12 #include "base/logging.h" 13 #include "base/logging.h"
13 #include "base/message_loop/message_loop.h" 14 #include "base/message_loop/message_loop.h"
14 #include "base/strings/string_number_conversions.h" 15 #include "base/strings/string_number_conversions.h"
15 #include "jni/AudioManagerAndroid_jni.h" 16 #include "jni/AudioManagerAndroid_jni.h"
16 #include "media/audio/android/audio_record_input.h" 17 #include "media/audio/android/audio_record_input.h"
17 #include "media/audio/android/opensles_input.h" 18 #include "media/audio/android/opensles_input.h"
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 output_volume_override_ = volume; 407 output_volume_override_ = volume;
407 408
408 DCHECK(GetTaskRunner()->BelongsToCurrentThread()); 409 DCHECK(GetTaskRunner()->BelongsToCurrentThread());
409 for (OutputStreams::iterator it = streams_.begin(); 410 for (OutputStreams::iterator it = streams_.begin();
410 it != streams_.end(); ++it) { 411 it != streams_.end(); ++it) {
411 (*it)->SetVolume(volume); 412 (*it)->SetVolume(volume);
412 } 413 }
413 } 414 }
414 415
415 } // namespace media 416 } // namespace media
OLDNEW
« no previous file with comments | « mandoline/services/core_services/android_hooks.cc ('k') | media/base/android/media_player_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698