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

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: . Created 3 years, 7 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 Delegate* delegate_ = nullptr; 80 Delegate* delegate_ = nullptr;
81 81
82 HostPairingScreenView* view_ = nullptr; 82 HostPairingScreenView* view_ = nullptr;
83 83
84 // Controller performing pairing. Owned by the wizard controller. 84 // Controller performing pairing. Owned by the wizard controller.
85 pairing_chromeos::HostPairingController* remora_controller_ = nullptr; 85 pairing_chromeos::HostPairingController* remora_controller_ = nullptr;
86 86
87 std::unique_ptr<EnterpriseEnrollmentHelper> enrollment_helper_; 87 std::unique_ptr<EnterpriseEnrollmentHelper> enrollment_helper_;
88 std::string enrollment_error_string_; 88 std::string enrollment_error_string_;
89 int enrollment_error_code_ = 0;
achuithb 2017/05/25 19:27:34 ERROR_NONE?
xdai1 2017/06/08 22:18:40 Using 0 here might be better than using static_cas
89 90
90 // Current stage of pairing process. 91 // Current stage of pairing process.
91 Stage current_stage_ = pairing_chromeos::HostPairingController::STAGE_NONE; 92 Stage current_stage_ = pairing_chromeos::HostPairingController::STAGE_NONE;
92 93
93 base::WeakPtrFactory<HostPairingScreen> weak_ptr_factory_; 94 base::WeakPtrFactory<HostPairingScreen> weak_ptr_factory_;
94 95
95 DISALLOW_COPY_AND_ASSIGN(HostPairingScreen); 96 DISALLOW_COPY_AND_ASSIGN(HostPairingScreen);
96 }; 97 };
97 98
98 } // namespace chromeos 99 } // namespace chromeos
99 100
100 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_ 101 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698