1 // Copyright 2014 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.
5 #ifndef EXTENSIONS_COMMON_FEATURES_BEHAVIOR_FEATURE_H_
6 #define EXTENSIONS_COMMON_FEATURES_BEHAVIOR_FEATURE_H_
10 #include "extensions/common/features/simple_feature.h"
12 namespace extensions
{
14 // Implementation of the features in _behavior_features.json.
16 // For now, this is just constants + a vacuous implementation of SimpleFeature,
17 // for consistency with the other Feature types. One day we may add some
18 // additional functionality. One day we may also generate the feature names.
19 class BehaviorFeature
: public SimpleFeature
{
21 // Constants corresponding to keys in _behavior_features.json.
22 static const char* kBluetoothPeripheral
;
23 static const char* kServiceWorker
;
24 static const char* kWhitelistedForIncognito
;
27 } // namespace extensions
29 #endif // EXTENSIONS_COMMON_FEATURES_BEHAVIOR_FEATURE_H_