add timeout param to remaining RCTNetworking implementations

Reviewed By: nicklockwood

Differential Revision: D2839041

fb-gh-sync-id: 374fca9ce0fdf5622f57a10456c99628ca7a1400
This commit is contained in:
Felix Oghină 2016-01-18 10:03:45 -08:00 committed by facebook-github-bot-7
parent b8ff6212f8
commit 58fc0f07bd

View File

@ -83,7 +83,8 @@ public class NetworkRecordingModuleMock extends ReactContextBaseJavaModule {
int requestId,
ReadableArray headers,
ReadableMap data,
boolean incrementalUpdates) {
boolean incrementalUpdates,
int timeout) {
mLastRequestId = requestId;
mRequestCount++;
mRequestMethod = method;