Chromium Code Reviews| Index: chrome/browser/net/async_dns_field_trial.h |
| diff --git a/chrome/browser/net/async_dns_field_trial.h b/chrome/browser/net/async_dns_field_trial.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..496cc44e18d77c733322ca439798af925aece00c |
| --- /dev/null |
| +++ b/chrome/browser/net/async_dns_field_trial.h |
| @@ -0,0 +1,23 @@ |
| +// Copyright (c) 2012 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. |
| + |
| +#ifndef CHROME_BROWSER_NET_ASYNC_DNS_FIELD_TRIAL_H_ |
| +#define CHROME_BROWSER_NET_ASYNC_DNS_FIELD_TRIAL_H_ |
| + |
| +#include <string> |
| + |
| +class CommandLine; |
| +class Profile; |
| + |
| +namespace net { |
|
cbentzel
2012/08/22 17:16:55
Things in chrome/browser/net are not in net namesp
szym
2012/08/22 17:39:01
I noticed both namespace chrome_browser_net and ch
|
| + |
| +// Configures the AsyncDns field trial as follows. |
| +// group A (async disabled): use CreateSystemHostResolver |
| +// group B (async enabled): use CreateAsyncHostResolver |
| +// Returns true if should use CreateAsyncHostResolver. |
| +bool ConfigureAsyncDnsFieldTrial(); |
| + |
| +} // namespace net |
| + |
| +#endif // CHROME_BROWSER_NET_ASYNC_DNS_FIELD_TRIAL_H_ |