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

Unified Diff: chrome/browser/auto_launch_trial.h

Issue 8969024: Make sure the Autolaunch infobar... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 | « no previous file | chrome/browser/auto_launch_trial.cc » ('j') | chrome/browser/auto_launch_trial.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/auto_launch_trial.h
===================================================================
--- chrome/browser/auto_launch_trial.h (revision 114621)
+++ chrome/browser/auto_launch_trial.h (working copy)
@@ -6,6 +6,8 @@
#define CHROME_BROWSER_AUTO_LAUNCH_TRIAL_H_
#pragma once
+#include <string>
+
// Strings used with the "auto launching Chrome at computer startup" trial. If
// the field trial is running then...
// base::FieldTrialList::TrialExists(kAutoLaunchTrial_Name) returns true.
@@ -35,8 +37,14 @@
};
// Whether the auto-launch experiment is active and the user is part of it.
-bool IsInAutoLaunchGroup();
+bool IsInAutoLaunchFieldTrial();
+// Whether the brand is part of the experiment group for auto-launch.
+bool IsInExperimentGroup(const std::string& brand_code);
+
+// Whether the brand is part of the control group for auto-launch.
+bool IsInControlGroup(const std::string& brand_code);
+
// Updates UMA to reflect user changing the auto-launch setting.
void UpdateToggleAutoLaunchMetric(bool auto_launch);
« no previous file with comments | « no previous file | chrome/browser/auto_launch_trial.cc » ('j') | chrome/browser/auto_launch_trial.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698