| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/policy/user_cloud_policy_manager_chromeos.h" | 5 #include "chrome/browser/policy/user_cloud_policy_manager_chromeos.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
| 9 #include "chrome/browser/policy/cloud_policy_service.h" | 9 #include "chrome/browser/policy/cloud_policy_service.h" |
| 10 #include "chrome/common/pref_names.h" | 10 #include "chrome/common/pref_names.h" |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 CancelWaitForPolicyFetch(); | 107 CancelWaitForPolicyFetch(); |
| 108 } | 108 } |
| 109 } | 109 } |
| 110 } | 110 } |
| 111 | 111 |
| 112 void UserCloudPolicyManagerChromeOS::OnClientError(CloudPolicyClient* client) { | 112 void UserCloudPolicyManagerChromeOS::OnClientError(CloudPolicyClient* client) { |
| 113 DCHECK_EQ(cloud_policy_client(), client); | 113 DCHECK_EQ(cloud_policy_client(), client); |
| 114 CancelWaitForPolicyFetch(); | 114 CancelWaitForPolicyFetch(); |
| 115 } | 115 } |
| 116 | 116 |
| 117 void UserCloudPolicyManagerChromeOS::OnInitialPolicyFetchComplete() { | 117 void UserCloudPolicyManagerChromeOS::OnInitialPolicyFetchComplete( |
| 118 bool success) { |
| 118 CancelWaitForPolicyFetch(); | 119 CancelWaitForPolicyFetch(); |
| 119 } | 120 } |
| 120 | 121 |
| 121 } // namespace policy | 122 } // namespace policy |
| OLD | NEW |