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

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

Issue 2698083007: Port device_generic_sensor to be hosted in Device Service. (Closed)
Patch Set: code rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/device/public/cpp/BUILD.gn ('k') | services/device/public/cpp/device_features.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « services/device/public/cpp/BUILD.gn ('k') | services/device/public/cpp/device_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698