Index: chrome/browser/signin/screenlock_bridge.cc |
diff --git a/chrome/browser/signin/screenlock_bridge.cc b/chrome/browser/signin/screenlock_bridge.cc |
index 586ed485f5f16e698a2309f6f84f39bcde7a5d96..57eb5161ed2535e1e05ba6b6f60e7de430e9e4b4 100644 |
--- a/chrome/browser/signin/screenlock_bridge.cc |
+++ b/chrome/browser/signin/screenlock_bridge.cc |
@@ -60,7 +60,8 @@ ScreenlockBridge* ScreenlockBridge::Get() { |
ScreenlockBridge::UserPodCustomIconOptions::UserPodCustomIconOptions() |
: autoshow_tooltip_(false), |
- hardlock_on_click_(false) { |
+ hardlock_on_click_(false), |
+ is_trial_run_(false) { |
} |
ScreenlockBridge::UserPodCustomIconOptions::~UserPodCustomIconOptions() {} |
@@ -84,6 +85,9 @@ ScreenlockBridge::UserPodCustomIconOptions::ToDictionaryValue() const { |
if (hardlock_on_click_) |
result->SetBoolean("hardlockOnClick", true); |
+ if (is_trial_run_) |
+ result->SetBoolean("isTrialRun", true); |
+ |
return result.Pass(); |
} |
@@ -108,6 +112,10 @@ void ScreenlockBridge::UserPodCustomIconOptions::SetHardlockOnClick() { |
hardlock_on_click_ = true; |
} |
+void ScreenlockBridge::UserPodCustomIconOptions::SetTrialRun() { |
+ is_trial_run_ = true; |
+} |
+ |
// static |
std::string ScreenlockBridge::GetAuthenticatedUserEmail(Profile* profile) { |
// |profile| has to be a signed-in profile with SigninManager already |