Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 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 NET_REPORTING_REPORTING_CONTROLS_H_ | |
| 6 #define NET_REPORTING_REPORTING_CONTROLS_H_ | |
| 7 | |
| 8 #include "net/base/net_export.h" | |
| 9 | |
| 10 namespace net { | |
| 11 | |
| 12 // Returns whether Reporting should be enabled, based on command-line flags | |
| 13 // (passed in, since they're in chrome/common), field trials, and a hard-coded | |
| 14 // default. | |
|
Ryan Sleevi
2017/01/03 21:28:12
1) //net should never mention layers above it (in
Julia Tuttle
2017/01/25 20:27:45
Obsolete; I'm now using base::Feature.
| |
| 15 NET_EXPORT bool GetReportingEnabled(const char* disable_switch_name, | |
| 16 const char* enable_switch_name); | |
| 17 | |
| 18 } // namespace net | |
| 19 | |
| 20 #endif // NET_REPORTING_REPORTING_CONTROLS_H_ | |
| OLD | NEW |