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

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

Issue 1428353002: Network Setup from Shark to Remora. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address achuithb@'s comment. Created 5 years, 1 month 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 <set> 8 #include <set>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // ControllerPairingController: 59 // ControllerPairingController:
60 void AddObserver(ControllerPairingController::Observer* observer) override; 60 void AddObserver(ControllerPairingController::Observer* observer) override;
61 void RemoveObserver(ControllerPairingController::Observer* observer) override; 61 void RemoveObserver(ControllerPairingController::Observer* observer) override;
62 Stage GetCurrentStage() override; 62 Stage GetCurrentStage() override;
63 void StartPairing() override; 63 void StartPairing() override;
64 DeviceIdList GetDiscoveredDevices() override; 64 DeviceIdList GetDiscoveredDevices() override;
65 void ChooseDeviceForPairing(const std::string& device_id) override; 65 void ChooseDeviceForPairing(const std::string& device_id) override;
66 void RepeatDiscovery() override; 66 void RepeatDiscovery() override;
67 std::string GetConfirmationCode() override; 67 std::string GetConfirmationCode() override;
68 void SetConfirmationCodeIsCorrect(bool correct) override; 68 void SetConfirmationCodeIsCorrect(bool correct) override;
69 void SetHostNetwork(const std::string& onc_spec) override;
69 void SetHostConfiguration(bool accepted_eula, 70 void SetHostConfiguration(bool accepted_eula,
70 const std::string& lang, 71 const std::string& lang,
71 const std::string& timezone, 72 const std::string& timezone,
72 bool send_reports, 73 bool send_reports,
73 const std::string& keyboard_layout) override; 74 const std::string& keyboard_layout) override;
74 void OnAuthenticationDone(const std::string& domain, 75 void OnAuthenticationDone(const std::string& domain,
75 const std::string& auth_token) override; 76 const std::string& auth_token) override;
76 void StartSession() override; 77 void StartSession() override;
77 78
78 // ProtoDecoder::Observer: 79 // ProtoDecoder::Observer:
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 base::ThreadChecker thread_checker_; 116 base::ThreadChecker thread_checker_;
116 base::ObserverList<ControllerPairingController::Observer> observers_; 117 base::ObserverList<ControllerPairingController::Observer> observers_;
117 base::WeakPtrFactory<BluetoothControllerPairingController> ptr_factory_; 118 base::WeakPtrFactory<BluetoothControllerPairingController> ptr_factory_;
118 119
119 DISALLOW_COPY_AND_ASSIGN(BluetoothControllerPairingController); 120 DISALLOW_COPY_AND_ASSIGN(BluetoothControllerPairingController);
120 }; 121 };
121 122
122 } // namespace pairing_chromeos 123 } // namespace pairing_chromeos
123 124
124 #endif // COMPONENTS_PAIRING_BLUETOOTH_CONTROLLER_PAIRING_CONTROLLER_H_ 125 #endif // COMPONENTS_PAIRING_BLUETOOTH_CONTROLLER_PAIRING_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698