| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h" | 5 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| (...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 607 // kDeviceOwner | 607 // kDeviceOwner |
| 608 // kIdleLogoutTimeout | 608 // kIdleLogoutTimeout |
| 609 // kIdleLogoutWarningDuration | 609 // kIdleLogoutWarningDuration |
| 610 // kReleaseChannelDelegated | 610 // kReleaseChannelDelegated |
| 611 // kReportDeviceActivityTimes | 611 // kReportDeviceActivityTimes |
| 612 // kReportDeviceBootMode | 612 // kReportDeviceBootMode |
| 613 // kReportDeviceLocation | 613 // kReportDeviceLocation |
| 614 // kReportDeviceVersionInfo | 614 // kReportDeviceVersionInfo |
| 615 // kReportDeviceNetworkInterfaces | 615 // kReportDeviceNetworkInterfaces |
| 616 // kReportDeviceUsers | 616 // kReportDeviceUsers |
| 617 // kReportDeviceHardwareStatus |
| 617 // kScreenSaverExtensionId | 618 // kScreenSaverExtensionId |
| 618 // kScreenSaverTimeout | 619 // kScreenSaverTimeout |
| 619 // kServiceAccountIdentity | 620 // kServiceAccountIdentity |
| 620 // kStartUpUrls | 621 // kStartUpUrls |
| 621 // kSystemTimezonePolicy | 622 // kSystemTimezonePolicy |
| 622 // kVariationsRestrictParameter | 623 // kVariationsRestrictParameter |
| 623 // kDeviceDisabled | 624 // kDeviceDisabled |
| 624 // kDeviceDisabledMessage | 625 // kDeviceDisabledMessage |
| 625 | 626 |
| 626 LOG(FATAL) << "Device setting " << path << " is read-only."; | 627 LOG(FATAL) << "Device setting " << path << " is read-only."; |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 727 std::vector<OnManagementSettingsSetCallback> callbacks; | 728 std::vector<OnManagementSettingsSetCallback> callbacks; |
| 728 pending_management_settings_callbacks_.swap(callbacks); | 729 pending_management_settings_callbacks_.swap(callbacks); |
| 729 for (const auto& callback : callbacks) { | 730 for (const auto& callback : callbacks) { |
| 730 if (!callback.is_null()) | 731 if (!callback.is_null()) |
| 731 callback.Run(success); | 732 callback.Run(success); |
| 732 } | 733 } |
| 733 StorePendingChanges(); | 734 StorePendingChanges(); |
| 734 } | 735 } |
| 735 | 736 |
| 736 } // namespace chromeos | 737 } // namespace chromeos |
| OLD | NEW |