Chromium Code Reviews| Index: chrome/browser/chromeos/arc/arc_support_host.cc |
| diff --git a/chrome/browser/chromeos/arc/arc_support_host.cc b/chrome/browser/chromeos/arc/arc_support_host.cc |
| index 97a1277aa847550946dfe14c88d04601806d4790..df30f4ad1d22770c73f612e7659955e3174e0f30 100644 |
| --- a/chrome/browser/chromeos/arc/arc_support_host.cc |
| +++ b/chrome/browser/chromeos/arc/arc_support_host.cc |
| @@ -230,7 +230,9 @@ void ArcSupportHost::EnableMetrics(bool is_enabled) { |
| void ArcSupportHost::EnableBackupRestore(bool is_enabled) { |
| PrefService* pref_service = arc::ArcAuthService::Get()->profile()->GetPrefs(); |
| - pref_service->SetBoolean(prefs::kArcBackupRestoreEnabled, is_enabled); |
| + if (!pref_service->GetBoolean(prefs::kArcBackupRestoreManaged)) { |
|
Yusuke Sato
2016/07/11 03:01:06
nit: omit {} to be consistent with other code in t
Sergey Poromov
2016/07/11 14:35:14
Done.
|
| + pref_service->SetBoolean(prefs::kArcBackupRestoreEnabled, is_enabled); |
| + } |
| } |
| void ArcSupportHost::OnMessage(const std::string& request_string) { |