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

Side by Side Diff: components/pairing/bluetooth_host_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_HOST_PAIRING_CONTROLLER_H_ 5 #ifndef COMPONENTS_PAIRING_BLUETOOTH_HOST_PAIRING_CONTROLLER_H_
6 #define COMPONENTS_PAIRING_BLUETOOTH_HOST_PAIRING_CONTROLLER_H_ 6 #define COMPONENTS_PAIRING_BLUETOOTH_HOST_PAIRING_CONTROLLER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 114
115 // ProtoDecoder::Observer: 115 // ProtoDecoder::Observer:
116 void OnHostStatusMessage(const pairing_api::HostStatus& message) override; 116 void OnHostStatusMessage(const pairing_api::HostStatus& message) override;
117 void OnConfigureHostMessage( 117 void OnConfigureHostMessage(
118 const pairing_api::ConfigureHost& message) override; 118 const pairing_api::ConfigureHost& message) override;
119 void OnPairDevicesMessage(const pairing_api::PairDevices& message) override; 119 void OnPairDevicesMessage(const pairing_api::PairDevices& message) override;
120 void OnCompleteSetupMessage( 120 void OnCompleteSetupMessage(
121 const pairing_api::CompleteSetup& message) override; 121 const pairing_api::CompleteSetup& message) override;
122 void OnErrorMessage(const pairing_api::Error& message) override; 122 void OnErrorMessage(const pairing_api::Error& message) override;
123 void OnAddNetworkMessage(const pairing_api::AddNetwork& message) override; 123 void OnAddNetworkMessage(const pairing_api::AddNetwork& message) override;
124 void OnRebootMessage(const pairing_api::Reboot& message) override;
124 125
125 // BluetoothAdapter::Observer: 126 // BluetoothAdapter::Observer:
126 void AdapterPresentChanged(device::BluetoothAdapter* adapter, 127 void AdapterPresentChanged(device::BluetoothAdapter* adapter,
127 bool present) override; 128 bool present) override;
128 129
129 // device::BluetoothDevice::PairingDelegate: 130 // device::BluetoothDevice::PairingDelegate:
130 void RequestPinCode(device::BluetoothDevice* device) override; 131 void RequestPinCode(device::BluetoothDevice* device) override;
131 void RequestPasskey(device::BluetoothDevice* device) override; 132 void RequestPasskey(device::BluetoothDevice* device) override;
132 void DisplayPinCode(device::BluetoothDevice* device, 133 void DisplayPinCode(device::BluetoothDevice* device,
133 const std::string& pincode) override; 134 const std::string& pincode) override;
(...skipping 25 matching lines...) Expand all
159 base::ThreadChecker thread_checker_; 160 base::ThreadChecker thread_checker_;
160 base::ObserverList<Observer> observers_; 161 base::ObserverList<Observer> observers_;
161 base::WeakPtrFactory<BluetoothHostPairingController> ptr_factory_; 162 base::WeakPtrFactory<BluetoothHostPairingController> ptr_factory_;
162 163
163 DISALLOW_COPY_AND_ASSIGN(BluetoothHostPairingController); 164 DISALLOW_COPY_AND_ASSIGN(BluetoothHostPairingController);
164 }; 165 };
165 166
166 } // namespace pairing_chromeos 167 } // namespace pairing_chromeos
167 168
168 #endif // COMPONENTS_PAIRING_BLUETOOTH_HOST_PAIRING_CONTROLLER_H_ 169 #endif // COMPONENTS_PAIRING_BLUETOOTH_HOST_PAIRING_CONTROLLER_H_
OLDNEW
« no previous file with comments | « components/pairing/bluetooth_controller_pairing_controller.cc ('k') | components/pairing/bluetooth_host_pairing_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698