Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: components/pairing/fake_host_pairing_controller.cc

Issue 1519883003: 1) Add basic configuration (network connection, language, keyboard layout, timezone) setup page. 2)… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the i18n-content HTML format in the html files Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 std::string FakeHostPairingController::GetConfirmationCode() { 116 std::string FakeHostPairingController::GetConfirmationCode() {
117 CHECK(current_stage_ == STAGE_WAITING_FOR_CODE_CONFIRMATION); 117 CHECK(current_stage_ == STAGE_WAITING_FOR_CODE_CONFIRMATION);
118 return confirmation_code_; 118 return confirmation_code_;
119 } 119 }
120 120
121 std::string FakeHostPairingController::GetEnrollmentDomain() { 121 std::string FakeHostPairingController::GetEnrollmentDomain() {
122 return enrollment_domain_; 122 return enrollment_domain_;
123 } 123 }
124 124
125 void FakeHostPairingController::OnNetworkConnectivityChanged(
126 Connectivity connectivity_status) {
127 }
128
125 void FakeHostPairingController::OnUpdateStatusChanged( 129 void FakeHostPairingController::OnUpdateStatusChanged(
126 UpdateStatus update_status) { 130 UpdateStatus update_status) {
127 } 131 }
128 132
129 void FakeHostPairingController::OnEnrollmentStatusChanged( 133 void FakeHostPairingController::OnEnrollmentStatusChanged(
130 EnrollmentStatus enrollment_status) { 134 EnrollmentStatus enrollment_status) {
131 } 135 }
132 136
133 void FakeHostPairingController::SetPermanentId( 137 void FakeHostPairingController::SetPermanentId(
134 const std::string& permanent_id) { 138 const std::string& permanent_id) {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 } 171 }
168 case STAGE_ENROLLMENT_SUCCESS: { 172 case STAGE_ENROLLMENT_SUCCESS: {
169 ChangeStageLater(STAGE_FINISHED); 173 ChangeStageLater(STAGE_FINISHED);
170 break; 174 break;
171 } 175 }
172 default: { break; } 176 default: { break; }
173 } 177 }
174 } 178 }
175 179
176 } // namespace pairing_chromeos 180 } // namespace pairing_chromeos
OLDNEW
« no previous file with comments | « components/pairing/fake_host_pairing_controller.h ('k') | components/pairing/host_pairing_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698