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

Side by Side Diff: components/cronet/android/test/test_upload_data_stream_handler.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "test_upload_data_stream_handler.h" 5 #include "test_upload_data_stream_handler.h"
6 6
7 #include <stddef.h>
8
7 #include <string> 9 #include <string>
8 10
9 #include "base/android/jni_android.h" 11 #include "base/android/jni_android.h"
10 #include "base/android/jni_string.h" 12 #include "base/android/jni_string.h"
11 #include "base/bind.h" 13 #include "base/bind.h"
12 #include "jni/TestUploadDataStreamHandler_jni.h" 14 #include "jni/TestUploadDataStreamHandler_jni.h"
13 #include "net/base/net_errors.h" 15 #include "net/base/net_errors.h"
14 16
15 namespace cronet { 17 namespace cronet {
16 18
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 TestUploadDataStreamHandler* handler = new TestUploadDataStreamHandler( 185 TestUploadDataStreamHandler* handler = new TestUploadDataStreamHandler(
184 upload_data_stream.Pass(), env, jtest_upload_data_stream_handler); 186 upload_data_stream.Pass(), env, jtest_upload_data_stream_handler);
185 return reinterpret_cast<jlong>(handler); 187 return reinterpret_cast<jlong>(handler);
186 } 188 }
187 189
188 bool TestUploadDataStreamHandlerRegisterJni(JNIEnv* env) { 190 bool TestUploadDataStreamHandlerRegisterJni(JNIEnv* env) {
189 return RegisterNativesImpl(env); 191 return RegisterNativesImpl(env);
190 } 192 }
191 193
192 } // namespace cronet 194 } // namespace cronet
OLDNEW
« no previous file with comments | « components/cronet/android/test/cronet_test_jni.cc ('k') | components/cronet/android/url_request_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698