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

Side by Side Diff: chrome/browser/chromeos/login/screens/host_pairing_screen.h

Issue 2890383003: Bootstrapping: Send meaningful error code/message from Slave to Master (Closed)
Patch Set: Address achuith@'s comments. Created 3 years, 6 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 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper. h" 9 #include "chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper. h"
10 #include "chrome/browser/chromeos/login/screens/base_screen.h" 10 #include "chrome/browser/chromeos/login/screens/base_screen.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 void OnAnyEnrollmentError(); 83 void OnAnyEnrollmentError();
84 84
85 Delegate* delegate_ = nullptr; 85 Delegate* delegate_ = nullptr;
86 86
87 HostPairingScreenView* view_ = nullptr; 87 HostPairingScreenView* view_ = nullptr;
88 88
89 // Controller performing pairing. Owned by the wizard controller. 89 // Controller performing pairing. Owned by the wizard controller.
90 pairing_chromeos::HostPairingController* remora_controller_ = nullptr; 90 pairing_chromeos::HostPairingController* remora_controller_ = nullptr;
91 91
92 std::unique_ptr<EnterpriseEnrollmentHelper> enrollment_helper_; 92 std::unique_ptr<EnterpriseEnrollmentHelper> enrollment_helper_;
93
94 // Describes the error code of an enrollment operation. For the format, see
95 // the definition of |error_code_| in bluetooth_host_pairing_controller.h.
96 int enrollment_error_code_ = 0;
93 std::string enrollment_error_string_; 97 std::string enrollment_error_string_;
94 98
95 // Current stage of pairing process. 99 // Current stage of pairing process.
96 Stage current_stage_ = pairing_chromeos::HostPairingController::STAGE_NONE; 100 Stage current_stage_ = pairing_chromeos::HostPairingController::STAGE_NONE;
97 101
98 base::WeakPtrFactory<HostPairingScreen> weak_ptr_factory_; 102 base::WeakPtrFactory<HostPairingScreen> weak_ptr_factory_;
99 103
100 DISALLOW_COPY_AND_ASSIGN(HostPairingScreen); 104 DISALLOW_COPY_AND_ASSIGN(HostPairingScreen);
101 }; 105 };
102 106
103 } // namespace chromeos 107 } // namespace chromeos
104 108
105 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_ 109 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/helper.cc ('k') | chrome/browser/chromeos/login/screens/host_pairing_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698