| 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 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 644 // kDeviceAttestationEnabled | 644 // kDeviceAttestationEnabled |
| 645 // kDeviceOwner | 645 // kDeviceOwner |
| 646 // kReleaseChannelDelegated | 646 // kReleaseChannelDelegated |
| 647 // kReportDeviceActivityTimes | 647 // kReportDeviceActivityTimes |
| 648 // kReportDeviceBootMode | 648 // kReportDeviceBootMode |
| 649 // kReportDeviceLocation | 649 // kReportDeviceLocation |
| 650 // kReportDeviceVersionInfo | 650 // kReportDeviceVersionInfo |
| 651 // kReportDeviceNetworkInterfaces | 651 // kReportDeviceNetworkInterfaces |
| 652 // kReportDeviceUsers | 652 // kReportDeviceUsers |
| 653 // kReportDeviceHardwareStatus | 653 // kReportDeviceHardwareStatus |
| 654 // kReportSessions |
| 654 // kServiceAccountIdentity | 655 // kServiceAccountIdentity |
| 655 // kSystemTimezonePolicy | 656 // kSystemTimezonePolicy |
| 656 // kVariationsRestrictParameter | 657 // kVariationsRestrictParameter |
| 657 // kDeviceDisabled | 658 // kDeviceDisabled |
| 658 // kDeviceDisabledMessage | 659 // kDeviceDisabledMessage |
| 659 | 660 |
| 660 LOG(FATAL) << "Device setting " << path << " is read-only."; | 661 LOG(FATAL) << "Device setting " << path << " is read-only."; |
| 661 } | 662 } |
| 662 } | 663 } |
| 663 | 664 |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 769 std::vector<OnManagementSettingsSetCallback> callbacks; | 770 std::vector<OnManagementSettingsSetCallback> callbacks; |
| 770 pending_management_settings_callbacks_.swap(callbacks); | 771 pending_management_settings_callbacks_.swap(callbacks); |
| 771 for (const auto& callback : callbacks) { | 772 for (const auto& callback : callbacks) { |
| 772 if (!callback.is_null()) | 773 if (!callback.is_null()) |
| 773 callback.Run(success); | 774 callback.Run(success); |
| 774 } | 775 } |
| 775 StorePendingChanges(); | 776 StorePendingChanges(); |
| 776 } | 777 } |
| 777 | 778 |
| 778 } // namespace chromeos | 779 } // namespace chromeos |
| OLD | NEW |