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

Side by Side Diff: webrtc/sdk/android/src/jni/jni_helpers.cc

Issue 2547483003: Move /webrtc/api/android files to /webrtc/sdk/android (Closed)
Patch Set: Move to api folder under Android instead of src Created 4 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
« no previous file with comments | « webrtc/sdk/android/src/jni/jni_helpers.h ('k') | webrtc/sdk/android/src/jni/jni_onload.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 /* 1 /*
2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright 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 #include "webrtc/api/android/jni/jni_helpers.h" 10 #include "webrtc/sdk/android/src/jni/jni_helpers.h"
11 11
12 #include "webrtc/api/android/jni/classreferenceholder.h" 12 #include "webrtc/sdk/android/src/jni/classreferenceholder.h"
13 13
14 #include <asm/unistd.h> 14 #include <asm/unistd.h>
15 #include <sys/prctl.h> 15 #include <sys/prctl.h>
16 #include <sys/syscall.h> 16 #include <sys/syscall.h>
17 #include <unistd.h> 17 #include <unistd.h>
18 18
19 namespace webrtc_jni { 19 namespace webrtc_jni {
20 20
21 static JavaVM* g_jvm = nullptr; 21 static JavaVM* g_jvm = nullptr;
22 22
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 RTC_CHECK(!AtEnd()); 341 RTC_CHECK(!AtEnd());
342 return value_; 342 return value_;
343 } 343 }
344 344
345 bool Iterable::Iterator::AtEnd() const { 345 bool Iterable::Iterator::AtEnd() const {
346 RTC_CHECK(thread_checker_.CalledOnValidThread()); 346 RTC_CHECK(thread_checker_.CalledOnValidThread());
347 return jni_ == nullptr || IsNull(jni_, iterator_); 347 return jni_ == nullptr || IsNull(jni_, iterator_);
348 } 348 }
349 349
350 } // namespace webrtc_jni 350 } // namespace webrtc_jni
OLDNEW
« no previous file with comments | « webrtc/sdk/android/src/jni/jni_helpers.h ('k') | webrtc/sdk/android/src/jni/jni_onload.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698