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

Unified Diff: components/arc/arc_features.cc

Issue 2359003004: Disable ACTION_BOOT_COMPLETED event for 3rd party apps. (Closed)
Patch Set: Change flag variable name and make it enabled by default 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..c3aeac33e11c84aed796d8f53bb16e37d1c163ce
--- /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.
Alexei Svitkine (slow) 2016/10/03 15:04:31 Nit: Add empty line below.
xzhou 2016/10/03 20:08:41 Done.
+#include "components/arc/arc_features.h"
+
+namespace features {
+
+#if defined(OS_CHROMEOS)
+// Disable ACTION_BOOT_COMPLETD broadcast for 3rd party applications on ARC.
Alexei Svitkine (slow) 2016/10/03 15:02:48 Nit: Update comment. You can still mention that th
xzhou 2016/10/03 20:08:41 Done.
+const base::Feature kArcBootCompletedBroadcast{
+ "ArcBootCompletedBroadcast", base::FEATURE_ENABLED_BY_DEFAULT};
+#endif // defined(OS_CHROMEOS)
+
+}
Alexei Svitkine (slow) 2016/10/03 15:04:31 Nit: Add // namespace comment
xzhou 2016/10/03 20:08:41 Done.

Powered by Google App Engine
This is Rietveld 408576698