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

Side by Side Diff: chrome/browser/net/async_dns_field_trial.h

Issue 10828373: [net] Add AsyncDns field trial. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable field trial for mobile devices Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 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
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 net
22
23 #endif // CHROME_BROWSER_NET_ASYNC_DNS_FIELD_TRIAL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698