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

Side by Side Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_features.h

Issue 2802463002: Adds feature flag for chrome-proxy-ect header (default off) (Closed)
Patch Set: Tweaked the name of the Feature to be more Feature like than Switch like. Created 3 years, 8 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_FEATURE S_H_ 5 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_FEATURE S_H_
6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_FEATURE S_H_ 6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_FEATURE S_H_
7 7
8 #include "base/feature_list.h" 8 #include "base/feature_list.h"
9 9
10 namespace data_reduction_proxy { 10 namespace data_reduction_proxy {
11 namespace features { 11 namespace features {
12 12
13 extern const base::Feature kDataReductionMainMenu; 13 extern const base::Feature kDataReductionMainMenu;
14 extern const base::Feature kDataReductionProxyECTHeader;
15
16 bool IsDataReductionProxyECTHeaderEnabled();
14 17
15 } // namespace features 18 } // namespace features
16 } // namespace data_reduction_proxy 19 } // namespace data_reduction_proxy
17 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_FEAT URES_H_ 20 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_FEAT URES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698