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

Unified Diff: chrome/browser/chromeos/login/screens/host_pairing_screen.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: chrome/browser/chromeos/login/screens/host_pairing_screen.cc
diff --git a/chrome/browser/chromeos/login/screens/host_pairing_screen.cc b/chrome/browser/chromeos/login/screens/host_pairing_screen.cc
index 62e9125d122c105f066eec75b954fd0eabd63a37..b57692551e38a99cdfddd4a75b0c63e74d427618 100644
--- a/chrome/browser/chromeos/login/screens/host_pairing_screen.cc
+++ b/chrome/browser/chromeos/login/screens/host_pairing_screen.cc
@@ -114,9 +114,18 @@ void HostPairingScreen::PairingStageChanged(Stage new_stage) {
CommitContextChanges();
}
-void HostPairingScreen::UpdateAdvanced(const UpdateProgress& progress) {
- context_.SetDouble(kContextKeyUpdateProgress, progress.progress);
- CommitContextChanges();
+void HostPairingScreen::ConfigureHost(bool accepted_eula,
+ const std::string& lang,
+ const std::string& timezone,
+ bool send_reports,
+ const std::string& keyboard_layout) {
+ // TODO(zork): Get configuration from UI and send to Host.
+ // (http://crbug.com/405744)
+}
+
+void HostPairingScreen::EnrollHost(const std::string& auth_token) {
+ // TODO(zork,achuith): Enroll device, send error on error.
+ // (http://crbug.com/374990)
}
void HostPairingScreen::OnActorDestroyed(HostPairingScreenActor* actor) {

Powered by Google App Engine
This is Rietveld 408576698