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

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

Issue 2771623002: Bootstrapping: Display meaningful enrollment error message on Slave device. (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/screens/host_pairing_screen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 void OnAnyEnrollmentError(); 78 void OnAnyEnrollmentError();
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 89
89 // Current stage of pairing process. 90 // Current stage of pairing process.
90 Stage current_stage_ = pairing_chromeos::HostPairingController::STAGE_NONE; 91 Stage current_stage_ = pairing_chromeos::HostPairingController::STAGE_NONE;
91 92
92 base::WeakPtrFactory<HostPairingScreen> weak_ptr_factory_; 93 base::WeakPtrFactory<HostPairingScreen> weak_ptr_factory_;
93 94
94 DISALLOW_COPY_AND_ASSIGN(HostPairingScreen); 95 DISALLOW_COPY_AND_ASSIGN(HostPairingScreen);
95 }; 96 };
96 97
97 } // namespace chromeos 98 } // namespace chromeos
98 99
99 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_ 100 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/screens/host_pairing_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698