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

Side by Side Diff: net/reporting/reporting_controls.h

Issue 2249213002: [OBSOLETE] Reporting: Initial implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 3 years, 12 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
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698