OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_NET_ASYNC_DNS_FIELD_TRIAL_H_ |
| 6 #define CHROME_BROWSER_NET_ASYNC_DNS_FIELD_TRIAL_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 class CommandLine; |
| 11 class Profile; |
| 12 |
| 13 namespace chrome_browser_net { |
| 14 |
| 15 // Configures the AsyncDns field trial as follows. |
| 16 // group A (async disabled): use CreateSystemHostResolver |
| 17 // group B (async enabled): use CreateAsyncHostResolver |
| 18 // Returns true if should use CreateAsyncHostResolver. |
| 19 bool ConfigureAsyncDnsFieldTrial(); |
| 20 |
| 21 } // namespace chrome_browser_net |
| 22 |
| 23 #endif // CHROME_BROWSER_NET_ASYNC_DNS_FIELD_TRIAL_H_ |
OLD | NEW |