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

Side by Side Diff: talk/app/webrtc/java/jni/native_handle_impl.h

Issue 1335923002: Add RTC_ prefix to (D)CHECKs and related macros. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase. Created 5 years, 3 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
« no previous file with comments | « talk/app/webrtc/java/jni/jni_helpers.cc ('k') | talk/app/webrtc/java/jni/peerconnection_jni.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 * libjingle 2 * libjingle
3 * Copyright 2015 Google Inc. 3 * Copyright 2015 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 public: 59 public:
60 JniNativeHandleBuffer(void* native_handle, int width, int height) 60 JniNativeHandleBuffer(void* native_handle, int width, int height)
61 : NativeHandleBuffer(native_handle, width, height) {} 61 : NativeHandleBuffer(native_handle, width, height) {}
62 62
63 // TODO(pbos): Override destructor to release native handle, at the moment the 63 // TODO(pbos): Override destructor to release native handle, at the moment the
64 // native handle is not released based on refcount. 64 // native handle is not released based on refcount.
65 65
66 private: 66 private:
67 rtc::scoped_refptr<VideoFrameBuffer> NativeToI420Buffer() override { 67 rtc::scoped_refptr<VideoFrameBuffer> NativeToI420Buffer() override {
68 // TODO(pbos): Implement before using this in the encoder pipeline (or 68 // TODO(pbos): Implement before using this in the encoder pipeline (or
69 // remove the CHECK() in VideoCapture). 69 // remove the RTC_CHECK() in VideoCapture).
70 RTC_NOTREACHED(); 70 RTC_NOTREACHED();
71 return nullptr; 71 return nullptr;
72 } 72 }
73 }; 73 };
74 74
75 } // namespace webrtc_jni 75 } // namespace webrtc_jni
76 76
77 #endif // TALK_APP_WEBRTC_JAVA_JNI_NATIVE_HANDLE_IMPL_H_ 77 #endif // TALK_APP_WEBRTC_JAVA_JNI_NATIVE_HANDLE_IMPL_H_
OLDNEW
« no previous file with comments | « talk/app/webrtc/java/jni/jni_helpers.cc ('k') | talk/app/webrtc/java/jni/peerconnection_jni.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698