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

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: address Helen's comments Created 4 years, 2 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/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 647cc0630742fe8db1f70a26a5e4355b8b664c15..c62d50be43f1714870aeab793fdb93cc8b0539da 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;
@@ -131,6 +132,8 @@ class CronetURLRequestContextAdapter
bool should);
private:
+ friend class TestUtil;
+
// Initializes |context_| on the Network thread.
void InitializeOnNetworkThread(
std::unique_ptr<URLRequestContextConfig> config,

Powered by Google App Engine
This is Rietveld 408576698