blob: f8fced046711f0e6fed4b06b62fd3cd043c9f29b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// 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 "components/prefs/pref_service.h"
namespace chrome_browser_net {
// Returns true when the async resolver should be used.
bool ConfigureAsyncDnsFieldTrial();
// Logs the derivation of the async DNS pref's actual value, for debugging.
// Must be called on the UI thread, since it accesses prefs directly.
void LogAsyncDnsPrefSource(const PrefService::Preference* pref);
} // namespace chrome_browser_net
#endif // CHROME_BROWSER_NET_ASYNC_DNS_FIELD_TRIAL_H_
|