blob: 4af0295496786d8577a4e70dd1efeeb872952d0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EXTENSIONS_COMMON_FEATURES_BEHAVIOR_FEATURE_H_
#define EXTENSIONS_COMMON_FEATURES_BEHAVIOR_FEATURE_H_
#include <string>
#include "extensions/common/features/simple_feature.h"
namespace extensions {
// Implementation of the features in _behavior_features.json.
//
// For now, this is just constants + a vacuous implementation of SimpleFeature,
// for consistency with the other Feature types. One day we may add some
// additional functionality. One day we may also generate the feature names.
class BehaviorFeature : public SimpleFeature {
public:
// Constants corresponding to keys in _behavior_features.json.
static const char* const kBluetoothPeripheral;
static const char* const kServiceWorker;
static const char* const kWhitelistedForIncognito;
static const char* const kDoNotSync;
};
} // namespace extensions
#endif // EXTENSIONS_COMMON_FEATURES_BEHAVIOR_FEATURE_H_
|