OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #import "components/cronet/ios/Cronet.h" |
| 6 |
| 7 // Cronet test support category. |
| 8 @interface Cronet (TestSupport) |
| 9 |
| 10 // Sets Host Resolver Rules for testing. |
| 11 // This method only has any effect before |start| is called. |
| 12 + (void)setHostResolverRulesForTesting:(NSString*)hostResolverRulesForTesting; |
| 13 |
| 14 // Sets a native MockCertVerifier for testing. |
| 15 // This method only has any effect before |start| is called. |
| 16 + (void)setMockCertVerifierForTesting:(void*)mockCertVerifierForTesting; |
| 17 |
| 18 @end |
OLD | NEW |