| Index: chrome/browser/signin/screenlock_bridge.cc
|
| diff --git a/chrome/browser/signin/screenlock_bridge.cc b/chrome/browser/signin/screenlock_bridge.cc
|
| index 56c2910592cd013f0fa38ebae776838bd3d4ef1d..4a95429aa295852af17d789c0658b637de3a4177 100644
|
| --- a/chrome/browser/signin/screenlock_bridge.cc
|
| +++ b/chrome/browser/signin/screenlock_bridge.cc
|
| @@ -37,7 +37,8 @@ ScreenlockBridge::UserPodCustomIconOptions::UserPodCustomIconOptions()
|
| animation_resource_width_(0u),
|
| animation_frame_length_ms_(0u),
|
| opacity_(100u),
|
| - autoshow_tooltip_(false) {
|
| + autoshow_tooltip_(false),
|
| + hardlock_on_click_(false) {
|
| }
|
|
|
| ScreenlockBridge::UserPodCustomIconOptions::~UserPodCustomIconOptions() {}
|
| @@ -86,6 +87,10 @@ ScreenlockBridge::UserPodCustomIconOptions::ToDictionaryValue() const {
|
| animation_frame_length_ms_);
|
| result->Set("animation", animation);
|
| }
|
| +
|
| + if (hardlock_on_click_)
|
| + result->SetBoolean("hardlockOnClick", true);
|
| +
|
| return result.Pass();
|
| }
|
|
|
| @@ -130,6 +135,10 @@ void ScreenlockBridge::UserPodCustomIconOptions::SetTooltip(
|
| autoshow_tooltip_ = autoshow;
|
| }
|
|
|
| +void ScreenlockBridge::UserPodCustomIconOptions::SetHardlockOnClick() {
|
| + hardlock_on_click_ = true;
|
| +}
|
| +
|
| // static
|
| std::string ScreenlockBridge::GetAuthenticatedUserEmail(Profile* profile) {
|
| // |profile| has to be a signed-in profile with SigninManager already
|
|
|