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

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

Issue 1829453002: Enable bootstrapping feature by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CL format Created 4 years, 8 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 | « chromeos/chromeos_switches.cc ('k') | components/pairing/bluetooth_host_pairing_controller.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 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 "base/macros.h" 10 #include "base/macros.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 void AuthorizePairing(device::BluetoothDevice* device) override; 102 void AuthorizePairing(device::BluetoothDevice* device) override;
103 103
104 Stage current_stage_; 104 Stage current_stage_;
105 std::string device_name_; 105 std::string device_name_;
106 std::string confirmation_code_; 106 std::string confirmation_code_;
107 std::string enrollment_domain_; 107 std::string enrollment_domain_;
108 Connectivity connectivity_status_; 108 Connectivity connectivity_status_;
109 UpdateStatus update_status_; 109 UpdateStatus update_status_;
110 EnrollmentStatus enrollment_status_; 110 EnrollmentStatus enrollment_status_;
111 std::string permanent_id_; 111 std::string permanent_id_;
112 bool was_powered_ = false;
112 113
113 scoped_refptr<device::BluetoothAdapter> adapter_; 114 scoped_refptr<device::BluetoothAdapter> adapter_;
114 scoped_refptr<device::BluetoothSocket> service_socket_; 115 scoped_refptr<device::BluetoothSocket> service_socket_;
115 scoped_refptr<device::BluetoothSocket> controller_socket_; 116 scoped_refptr<device::BluetoothSocket> controller_socket_;
116 scoped_ptr<ProtoDecoder> proto_decoder_; 117 scoped_ptr<ProtoDecoder> proto_decoder_;
117 118
118 base::ThreadChecker thread_checker_; 119 base::ThreadChecker thread_checker_;
119 base::ObserverList<Observer> observers_; 120 base::ObserverList<Observer> observers_;
120 base::WeakPtrFactory<BluetoothHostPairingController> ptr_factory_; 121 base::WeakPtrFactory<BluetoothHostPairingController> ptr_factory_;
121 122
122 DISALLOW_COPY_AND_ASSIGN(BluetoothHostPairingController); 123 DISALLOW_COPY_AND_ASSIGN(BluetoothHostPairingController);
123 }; 124 };
124 125
125 } // namespace pairing_chromeos 126 } // namespace pairing_chromeos
126 127
127 #endif // COMPONENTS_PAIRING_BLUETOOTH_HOST_PAIRING_CONTROLLER_H_ 128 #endif // COMPONENTS_PAIRING_BLUETOOTH_HOST_PAIRING_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chromeos/chromeos_switches.cc ('k') | components/pairing/bluetooth_host_pairing_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698