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

Unified Diff: components/cronet/android/test/mock_url_request_job_test.h

Issue 558333007: Setup initial mock url request job tests for Cronet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added jni binding for AddUrlInterceptors() Created 6 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 side-by-side diff with in-line comments
Download patch
Index: components/cronet/android/test/mock_url_request_job_test.h
diff --git a/components/cronet/android/chromium_url_request_context.h b/components/cronet/android/test/mock_url_request_job_test.h
similarity index 50%
copy from components/cronet/android/chromium_url_request_context.h
copy to components/cronet/android/test/mock_url_request_job_test.h
index 3d5a1f14cc7d5d874e83f19b9e3bcd778bbed2f9..3f9ea4c2186ea760df7480598228ad55ab07cc64 100644
--- a/components/cronet/android/chromium_url_request_context.h
+++ b/components/cronet/android/test/mock_url_request_job_test.h
@@ -1,16 +1,17 @@
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+//
mef 2014/09/22 14:35:57 nit: spurious //
xunjieli 2014/09/22 15:56:23 Done.
-#ifndef COMPONENTS_CRONET_ANDROID_URLREQUEST_CONTEXT_H_
-#define COMPONENTS_CRONET_ANDROID_URLREQUEST_CONTEXT_H_
+#ifndef CRONET_MOCK_URL_REQUEST_JOB_TEST_H_
+#define CRONET_MOCK_URL_REQUEST_JOB_TEST_H_
#include <jni.h>
namespace cronet {
-bool ChromiumUrlRequestContextRegisterJni(JNIEnv* env);
+bool RegisterMockUrlRequestJobTest(JNIEnv* env);
} // namespace cronet
-#endif // COMPONENTS_CRONET_ANDROID_URLREQUEST_CONTEXT_H_
+#endif // CRONET_MOCK_URL_REQUEST_JOB_TEST_H_

Powered by Google App Engine
This is Rietveld 408576698