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

Unified Diff: services/device/public/cpp/device_features.h

Issue 2698083007: Port device_generic_sensor to be hosted in Device Service. (Closed)
Patch Set: Port device_generic_sensor to be hosted in Device Service. Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: services/device/public/cpp/device_features.h
diff --git a/services/device/public/cpp/device_features.h b/services/device/public/cpp/device_features.h
new file mode 100644
index 0000000000000000000000000000000000000000..b10a16b6f0c10b6e8b31b8f9987f13760d5b8bee
--- /dev/null
+++ b/services/device/public/cpp/device_features.h
@@ -0,0 +1,21 @@
+// Copyright 2017 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.
+
+// This file defines all the public base::FeatureList features for the
+// services/device module.
+
+#ifndef SERVICES_DEVICE_PUBLIC_CPP_DEVICE_FEATURES_H_
+#define SERVICES_DEVICE_PUBLIC_CPP_DEVICE_FEATURES_H_
+
+#include "base/feature_list.h"
+
+namespace features {
+
+// The features should be documented alongside the definition of their values
+// in the .cc file.
+extern const base::Feature kGenericSensor;
+
+} // namespace features
+
+#endif // SERVICES_DEVICE_PUBLIC_CPP_DEVICE_FEATURES_H_

Powered by Google App Engine
This is Rietveld 408576698