| 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 "components/pairing/fake_host_pairing_controller.h" | 5 #include "components/pairing/fake_host_pairing_controller.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 } | 121 } |
| 122 | 122 |
| 123 std::string FakeHostPairingController::GetEnrollmentDomain() { | 123 std::string FakeHostPairingController::GetEnrollmentDomain() { |
| 124 return enrollment_domain_; | 124 return enrollment_domain_; |
| 125 } | 125 } |
| 126 | 126 |
| 127 void FakeHostPairingController::OnUpdateStatusChanged( | 127 void FakeHostPairingController::OnUpdateStatusChanged( |
| 128 UpdateStatus update_status) { | 128 UpdateStatus update_status) { |
| 129 } | 129 } |
| 130 | 130 |
| 131 void FakeHostPairingController::SetEnrollmentComplete(bool success) { |
| 132 } |
| 133 |
| 131 void FakeHostPairingController::PairingStageChanged(Stage new_stage) { | 134 void FakeHostPairingController::PairingStageChanged(Stage new_stage) { |
| 132 switch (new_stage) { | 135 switch (new_stage) { |
| 133 case STAGE_WAITING_FOR_CONTROLLER: { | 136 case STAGE_WAITING_FOR_CONTROLLER: { |
| 134 ChangeStageLater(STAGE_WAITING_FOR_CODE_CONFIRMATION); | 137 ChangeStageLater(STAGE_WAITING_FOR_CODE_CONFIRMATION); |
| 135 break; | 138 break; |
| 136 } | 139 } |
| 137 case STAGE_WAITING_FOR_CODE_CONFIRMATION: { | 140 case STAGE_WAITING_FOR_CODE_CONFIRMATION: { |
| 138 ChangeStageLater(STAGE_UPDATING); | 141 ChangeStageLater(STAGE_UPDATING); |
| 139 break; | 142 break; |
| 140 } | 143 } |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 const std::string& lang, | 179 const std::string& lang, |
| 177 const std::string& timezone, | 180 const std::string& timezone, |
| 178 bool send_reports, | 181 bool send_reports, |
| 179 const std::string& keyboard_layout) { | 182 const std::string& keyboard_layout) { |
| 180 } | 183 } |
| 181 | 184 |
| 182 void FakeHostPairingController::EnrollHost(const std::string& auth_token) { | 185 void FakeHostPairingController::EnrollHost(const std::string& auth_token) { |
| 183 } | 186 } |
| 184 | 187 |
| 185 } // namespace pairing_chromeos | 188 } // namespace pairing_chromeos |
| OLD | NEW |