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

Side by Side Diff: components/pairing/bluetooth_controller_pairing_controller.h

Issue 2901653002: Bootstrapping: Reboot on enrollment failure (Closed)
Patch Set: Fixed comments. 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 COMPONENTS_PAIRING_BLUETOOTH_CONTROLLER_PAIRING_CONTROLLER_H_ 5 #ifndef COMPONENTS_PAIRING_BLUETOOTH_CONTROLLER_PAIRING_CONTROLLER_H_
6 #define COMPONENTS_PAIRING_BLUETOOTH_CONTROLLER_PAIRING_CONTROLLER_H_ 6 #define COMPONENTS_PAIRING_BLUETOOTH_CONTROLLER_PAIRING_CONTROLLER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 // ProtoDecoder::Observer: 81 // ProtoDecoder::Observer:
82 void OnHostStatusMessage(const pairing_api::HostStatus& message) override; 82 void OnHostStatusMessage(const pairing_api::HostStatus& message) override;
83 void OnConfigureHostMessage( 83 void OnConfigureHostMessage(
84 const pairing_api::ConfigureHost& message) override; 84 const pairing_api::ConfigureHost& message) override;
85 void OnPairDevicesMessage(const pairing_api::PairDevices& message) override; 85 void OnPairDevicesMessage(const pairing_api::PairDevices& message) override;
86 void OnCompleteSetupMessage( 86 void OnCompleteSetupMessage(
87 const pairing_api::CompleteSetup& message) override; 87 const pairing_api::CompleteSetup& message) override;
88 void OnErrorMessage(const pairing_api::Error& message) override; 88 void OnErrorMessage(const pairing_api::Error& message) override;
89 void OnAddNetworkMessage(const pairing_api::AddNetwork& message) override; 89 void OnAddNetworkMessage(const pairing_api::AddNetwork& message) override;
90 void OnRebootMessage(const pairing_api::Reboot& message) override;
90 91
91 // BluetoothAdapter::Observer: 92 // BluetoothAdapter::Observer:
92 void DeviceAdded(device::BluetoothAdapter* adapter, 93 void DeviceAdded(device::BluetoothAdapter* adapter,
93 device::BluetoothDevice* device) override; 94 device::BluetoothDevice* device) override;
94 void DeviceRemoved(device::BluetoothAdapter* adapter, 95 void DeviceRemoved(device::BluetoothAdapter* adapter,
95 device::BluetoothDevice* device) override; 96 device::BluetoothDevice* device) override;
96 97
97 // device::BluetoothDevice::PairingDelegate: 98 // device::BluetoothDevice::PairingDelegate:
98 void RequestPinCode(device::BluetoothDevice* device) override; 99 void RequestPinCode(device::BluetoothDevice* device) override;
99 void RequestPasskey(device::BluetoothDevice* device) override; 100 void RequestPasskey(device::BluetoothDevice* device) override;
(...skipping 20 matching lines...) Expand all
120 base::ThreadChecker thread_checker_; 121 base::ThreadChecker thread_checker_;
121 base::ObserverList<ControllerPairingController::Observer> observers_; 122 base::ObserverList<ControllerPairingController::Observer> observers_;
122 base::WeakPtrFactory<BluetoothControllerPairingController> ptr_factory_; 123 base::WeakPtrFactory<BluetoothControllerPairingController> ptr_factory_;
123 124
124 DISALLOW_COPY_AND_ASSIGN(BluetoothControllerPairingController); 125 DISALLOW_COPY_AND_ASSIGN(BluetoothControllerPairingController);
125 }; 126 };
126 127
127 } // namespace pairing_chromeos 128 } // namespace pairing_chromeos
128 129
129 #endif // COMPONENTS_PAIRING_BLUETOOTH_CONTROLLER_PAIRING_CONTROLLER_H_ 130 #endif // COMPONENTS_PAIRING_BLUETOOTH_CONTROLLER_PAIRING_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/wizard_controller.cc ('k') | components/pairing/bluetooth_controller_pairing_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698