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

Unified Diff: components/pairing/fake_controller_pairing_controller.cc

Issue 491943004: Update the pairing API to include configuration and enrollment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile error Created 6 years, 4 months 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 side-by-side diff with in-line comments
Download patch
Index: components/pairing/fake_controller_pairing_controller.cc
diff --git a/components/pairing/fake_controller_pairing_controller.cc b/components/pairing/fake_controller_pairing_controller.cc
index deb86156a7b2d11ccecbbb0fc5166ad8037170be..0b05ee6a9e5c61f0b83bd0c3a0ae7b0d982a1034 100644
--- a/components/pairing/fake_controller_pairing_controller.cc
+++ b/components/pairing/fake_controller_pairing_controller.cc
@@ -205,9 +205,17 @@ void FakeControllerPairingController::SetConfirmationCodeIsCorrect(
ChangeStage(STAGE_DEVICES_DISCOVERY);
}
+void FakeControllerPairingController::SetHostConfiguration(
+ bool accepted_eula,
+ const std::string& lang,
+ const std::string& timezone,
+ bool send_reports,
+ const std::string& keyboard_layout) {
+}
+
void FakeControllerPairingController::OnAuthenticationDone(
- const chromeos::UserContext& user_context,
- content::BrowserContext* browser_context) {
+ const std::string& domain,
+ const std::string& auth_token) {
CHECK(current_stage_ == STAGE_WAITING_FOR_CREDENTIALS);
ChangeStage(STAGE_HOST_ENROLLMENT_IN_PROGRESS);
}
« no previous file with comments | « components/pairing/fake_controller_pairing_controller.h ('k') | components/pairing/fake_host_pairing_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698