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

Side by Side Diff: webrtc/modules/utility/source/helpers_android.cc

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) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 #include "webrtc/base/checks.h" 11 #include "webrtc/base/checks.h"
12 #include "webrtc/modules/utility/interface/helpers_android.h" 12 #include "webrtc/modules/utility/include/helpers_android.h"
13 13
14 #include <android/log.h> 14 #include <android/log.h>
15 #include <assert.h> 15 #include <assert.h>
16 #include <pthread.h> 16 #include <pthread.h>
17 #include <stddef.h> 17 #include <stddef.h>
18 #include <unistd.h> 18 #include <unistd.h>
19 19
20 #define TAG "HelpersAndroid" 20 #define TAG "HelpersAndroid"
21 #define ALOGD(...) __android_log_print(ANDROID_LOG_DEBUG, TAG, __VA_ARGS__) 21 #define ALOGD(...) __android_log_print(ANDROID_LOG_DEBUG, TAG, __VA_ARGS__)
22 22
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 ALOGD("Detaching thread from JVM%s", GetThreadInfo().c_str()); 114 ALOGD("Detaching thread from JVM%s", GetThreadInfo().c_str());
115 jint res = jvm_->DetachCurrentThread(); 115 jint res = jvm_->DetachCurrentThread();
116 RTC_CHECK(res == JNI_OK) << "DetachCurrentThread failed: " << res; 116 RTC_CHECK(res == JNI_OK) << "DetachCurrentThread failed: " << res;
117 RTC_CHECK(!GetEnv(jvm_)); 117 RTC_CHECK(!GetEnv(jvm_));
118 } 118 }
119 } 119 }
120 120
121 JNIEnv* AttachThreadScoped::env() { return env_; } 121 JNIEnv* AttachThreadScoped::env() { return env_; }
122 122
123 } // namespace webrtc 123 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/utility/source/file_recorder_impl.cc ('k') | webrtc/modules/utility/source/helpers_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698