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

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

Issue 1658793002: Update chrome for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_NET_ASYNC_DNS_FIELD_TRIAL_H_ 5 #ifndef CHROME_BROWSER_NET_ASYNC_DNS_FIELD_TRIAL_H_
6 #define CHROME_BROWSER_NET_ASYNC_DNS_FIELD_TRIAL_H_ 6 #define CHROME_BROWSER_NET_ASYNC_DNS_FIELD_TRIAL_H_
7 7
8 #include "base/prefs/pref_service.h" 8 #include "components/prefs/pref_service.h"
9 9
10 namespace chrome_browser_net { 10 namespace chrome_browser_net {
11 11
12 // Returns true when the async resolver should be used. 12 // Returns true when the async resolver should be used.
13 bool ConfigureAsyncDnsFieldTrial(); 13 bool ConfigureAsyncDnsFieldTrial();
14 14
15 // Logs the derivation of the async DNS pref's actual value, for debugging. 15 // Logs the derivation of the async DNS pref's actual value, for debugging.
16 // Must be called on the UI thread, since it accesses prefs directly. 16 // Must be called on the UI thread, since it accesses prefs directly.
17 void LogAsyncDnsPrefSource(const PrefService::Preference* pref); 17 void LogAsyncDnsPrefSource(const PrefService::Preference* pref);
18 18
19 } // namespace chrome_browser_net 19 } // namespace chrome_browser_net
20 20
21 #endif // CHROME_BROWSER_NET_ASYNC_DNS_FIELD_TRIAL_H_ 21 #endif // CHROME_BROWSER_NET_ASYNC_DNS_FIELD_TRIAL_H_
OLDNEW
« no previous file with comments | « chrome/browser/metrics/plugin_metrics_provider_unittest.cc ('k') | chrome/browser/net/chrome_http_user_agent_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698