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

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

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.cc
diff --git a/services/device/public/cpp/device_features.cc b/services/device/public/cpp/device_features.cc
new file mode 100644
index 0000000000000000000000000000000000000000..e5c2f2cbb4686632639d722bc57129837e5bed70
--- /dev/null
+++ b/services/device/public/cpp/device_features.cc
@@ -0,0 +1,12 @@
+// 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.
+
+#include "services/device/public/cpp/device_features.h"
+
+namespace features {
+
+const base::Feature kGenericSensor{"GenericSensor",
blundell 2017/03/29 09:41:59 nit: Move the documentation as well.
ke.he 2017/03/29 10:05:11 Sorry for this careless:( Done.
+ base::FEATURE_DISABLED_BY_DEFAULT};
+
+} // namespace features

Powered by Google App Engine
This is Rietveld 408576698