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

Unified Diff: apps/field_trial_names.cc

Issue 12985002: Add a new App launcher promo to the apps page / NTP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed unit tests. Created 7 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: apps/field_trial_names.cc
diff --git a/apps/field_trial_names.cc b/apps/field_trial_names.cc
new file mode 100644
index 0000000000000000000000000000000000000000..745e643ffa2153db8939134201f34ece65843656
--- /dev/null
+++ b/apps/field_trial_names.cc
@@ -0,0 +1,19 @@
+// Copyright 2013 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 "apps/field_trial_names.h"
+
+namespace apps {
+
+// The field trial group name that enables showing the promo.
+const char kShowLauncherPromoOnceGroupName[] = "ShowPromoUntilDismissed";
+
+// The field trial group name that resets the pref to show the app launcher
+// promo on every session startup.
+const char kResetShowLauncherPromoPrefGroup[] = "ResetShowPromoPref";
Alexei Svitkine (slow) 2013/03/22 16:57:35 Nit: Change suffix to "*GroupName" to be consisten
MAD 2013/03/22 17:11:35 Done.
+
+// The name of the field trial that controls showing the app launcher promo.
+const char kLauncherPromoTrialName[] = "ShowAppLauncherPromo";
+
+} // namespace apps

Powered by Google App Engine
This is Rietveld 408576698