summaryrefslogtreecommitdiffstats
path: root/extensions/common/features/behavior_feature.h
blob: 7e9a5f19bb99c40bb911883e941e1eaf2778c9b2 (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 kServiceWorker[];
  static const char kWhitelistedForIncognito[];
  static const char kDoNotSync[];
  static const char kZoomWithoutBubble[];
};

}  // namespace extensions

#endif  // EXTENSIONS_COMMON_FEATURES_BEHAVIOR_FEATURE_H_