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

Side by Side Diff: webrtc/modules/audio_device/android/build_info.h

Issue 1417683006: modules: more interface -> include renames (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix last incorrectly wrapped pragma message Created 5 years, 1 month 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 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef WEBRTC_MODULES_AUDIO_DEVICE_ANDROID_BUILD_INFO_H_ 11 #ifndef WEBRTC_MODULES_AUDIO_DEVICE_ANDROID_BUILD_INFO_H_
12 #define WEBRTC_MODULES_AUDIO_DEVICE_ANDROID_BUILD_INFO_H_ 12 #define WEBRTC_MODULES_AUDIO_DEVICE_ANDROID_BUILD_INFO_H_
13 13
14 #include <jni.h> 14 #include <jni.h>
15 #include <string> 15 #include <string>
16 16
17 #include "webrtc/modules/utility/interface/jvm_android.h" 17 #include "webrtc/modules/utility/include/jvm_android.h"
18 18
19 namespace webrtc { 19 namespace webrtc {
20 20
21 // Utility class used to query the Java class (org/webrtc/voiceengine/BuildInfo) 21 // Utility class used to query the Java class (org/webrtc/voiceengine/BuildInfo)
22 // for device and Android build information. 22 // for device and Android build information.
23 // The calling thread is attached to the JVM at construction if needed and a 23 // The calling thread is attached to the JVM at construction if needed and a
24 // valid Java environment object is also created. 24 // valid Java environment object is also created.
25 // All Get methods must be called on the creating thread. If not, the code will 25 // All Get methods must be called on the creating thread. If not, the code will
26 // hit RTC_DCHECKs when calling JNIEnvironment::JavaToStdString(). 26 // hit RTC_DCHECKs when calling JNIEnvironment::JavaToStdString().
27 class BuildInfo { 27 class BuildInfo {
(...skipping 30 matching lines...) Expand all
58 rtc::scoped_ptr<JNIEnvironment> j_environment_; 58 rtc::scoped_ptr<JNIEnvironment> j_environment_;
59 59
60 // Holds the jclass object and provides access to CallStaticObjectMethod(). 60 // Holds the jclass object and provides access to CallStaticObjectMethod().
61 // Used by GetStringFromJava() during construction only. 61 // Used by GetStringFromJava() during construction only.
62 JavaClass j_build_info_; 62 JavaClass j_build_info_;
63 }; 63 };
64 64
65 } // namespace webrtc 65 } // namespace webrtc
66 66
67 #endif // WEBRTC_MODULES_AUDIO_DEVICE_ANDROID_BUILD_INFO_H_ 67 #endif // WEBRTC_MODULES_AUDIO_DEVICE_ANDROID_BUILD_INFO_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_device/android/audio_track_jni.h ('k') | webrtc/modules/audio_device/android/build_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698