Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef SYNC_TEST_FAKE_SERVER_ANDROID_FAKE_SERVER_HELPER_ANDROID | 5 #ifndef SYNC_TEST_FAKE_SERVER_ANDROID_FAKE_SERVER_HELPER_ANDROID |
| 6 #define SYNC_TEST_FAKE_SERVER_ANDROID_FAKE_SERVER_HELPER_ANDROID | 6 #define SYNC_TEST_FAKE_SERVER_ANDROID_FAKE_SERVER_HELPER_ANDROID |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 23 jlong CreateFakeServer(JNIEnv* env, jobject obj); | 23 jlong CreateFakeServer(JNIEnv* env, jobject obj); |
| 24 | 24 |
| 25 // Factory method for creating a native NetworkResources object. The caller | 25 // Factory method for creating a native NetworkResources object. The caller |
| 26 // assumes ownership. | 26 // assumes ownership. |
| 27 jlong CreateNetworkResources(JNIEnv* env, jobject obj, jlong fake_server); | 27 jlong CreateNetworkResources(JNIEnv* env, jobject obj, jlong fake_server); |
| 28 | 28 |
| 29 // Deletes the given |fake_server| (a FakeServer pointer created via | 29 // Deletes the given |fake_server| (a FakeServer pointer created via |
| 30 // CreateFakeServer). | 30 // CreateFakeServer). |
| 31 void DeleteFakeServer(JNIEnv* env, jobject obj, jlong fake_server); | 31 void DeleteFakeServer(JNIEnv* env, jobject obj, jlong fake_server); |
| 32 | 32 |
| 33 jboolean VerifyEntityCountByTypeAndName(JNIEnv* env, | |
|
nyquist
2015/01/24 01:54:41
Nit: Comment? It's not super important though, giv
pval...(no longer on Chromium)
2015/01/27 22:14:47
Done.
| |
| 34 jobject obj, | |
| 35 jlong fake_server, | |
| 36 jlong count, | |
| 37 jstring modelType, | |
| 38 jstring name); | |
| 39 | |
| 33 private: | 40 private: |
| 34 virtual ~FakeServerHelperAndroid(); | 41 virtual ~FakeServerHelperAndroid(); |
| 35 }; | 42 }; |
| 36 | 43 |
| 37 #endif // SYNC_TEST_FAKE_SERVER_ANDROID_FAKE_SERVER_HELPER_ANDROID | 44 #endif // SYNC_TEST_FAKE_SERVER_ANDROID_FAKE_SERVER_HELPER_ANDROID |
| OLD | NEW |