Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 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_HTTP_HTTP_FEATURES_H_ | |
| 6 #define NET_HTTP_HTTP_FEATURES_H_ | |
| 7 | |
| 8 // This file defines all the base::FeatureList features for the net module. | |
| 9 | |
| 10 #include "base/feature_list.h" | |
| 11 | |
| 12 namespace net { | |
| 13 | |
| 14 namespace features { | |
| 15 | |
| 16 // All features in alphabetical order. The features should be documented | |
| 17 // alongside the definition of their values in the .cc file. | |
| 18 extern const base::Feature kBrotliEncodingFeature; | |
| 19 | |
| 20 // Checks if brotli encoding feature is enabled AND supported. | |
|
xunjieli
2015/12/14 16:02:27
Is there a reason that AND is capitalized?
eustas
2015/12/14 17:39:45
To emphasise that not only feature value is taken
| |
| 21 bool IsBrotliEncodingEnabled(); | |
| 22 | |
| 23 } // namespace features | |
| 24 | |
| 25 } // namespace net | |
| 26 | |
| 27 #endif // NET_HTTP_HTTP_FEATURES_H_ | |
| OLD | NEW |