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

Unified Diff: components/arc/arc_features.cc

Issue 2359003004: Disable ACTION_BOOT_COMPLETED event for 3rd party apps. (Closed)
Patch Set: Replace flags with feature list. Created 4 years, 3 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: components/arc/arc_features.cc
diff --git a/components/arc/arc_features.cc b/components/arc/arc_features.cc
new file mode 100644
index 0000000000000000000000000000000000000000..9356673c6bf69469d28a9cd109039bcf35f096e4
--- /dev/null
+++ b/components/arc/arc_features.cc
@@ -0,0 +1,14 @@
+// Copyright 2016 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 "components/arc/arc_features.h"
+
+namespace features {
+
+#if defined(OS_CHROMEOS)
+// Disable ACTION_BOOT_COMPLETD broadcast for 3rd party applications on ARC.
+const base::Feature kDisableArcBootCompletedBroadcast{
+ "DisableArcBootCompletedBroadcast", base::FEATURE_DISABLED_BY_DEFAULT};
Alexei Svitkine (slow) 2016/09/30 21:34:04 Instead of making the feature called kDisable* and
xzhou 2016/10/01 00:37:42 I changed the variable name as well as the descrip
+#endif // defined(OS_CHROMEOS)
+
+}

Powered by Google App Engine
This is Rietveld 408576698