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

Unified Diff: components/cronet/android/cronet_url_request_context_adapter.h

Issue 2406273002: [Cronet] Test the libcronet that's shipped, not libcronet_test (Closed)
Patch Set: fix shutdown race Created 4 years, 1 month 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/cronet_url_request_context_adapter.h
diff --git a/components/cronet/android/cronet_url_request_context_adapter.h b/components/cronet/android/cronet_url_request_context_adapter.h
index d880b76d79ef369052e8bbdd679079801ea5ac3f..a58ecd3626f052c75ecd2065b0326b9df9d0b287 100644
--- a/components/cronet/android/cronet_url_request_context_adapter.h
+++ b/components/cronet/android/cronet_url_request_context_adapter.h
@@ -40,6 +40,7 @@ class BoundedFileNetLogObserver;
} // namespace net
namespace cronet {
+class TestUtil;
#if defined(DATA_REDUCTION_PROXY_SUPPORT)
class CronetDataReductionProxy;
@@ -132,6 +133,8 @@ class CronetURLRequestContextAdapter
bool should);
private:
+ friend class TestUtil;
+
// Initializes |context_| on the Network thread.
void InitializeOnNetworkThread(
std::unique_ptr<URLRequestContextConfig> config,
« no previous file with comments | « components/cronet/android/cronet_url_request_adapter.cc ('k') | components/cronet/android/test/cronet_test_jni.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698