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

Side by Side Diff: components/pairing/fake_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_FAKE_CONTROLLER_PAIRING_CONTROLLER_H_ 5 #ifndef COMPONENTS_PAIRING_FAKE_CONTROLLER_PAIRING_CONTROLLER_H_
6 #define COMPONENTS_PAIRING_FAKE_CONTROLLER_PAIRING_CONTROLLER_H_ 6 #define COMPONENTS_PAIRING_FAKE_CONTROLLER_PAIRING_CONTROLLER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // Overridden from ControllerPairingController: 66 // Overridden from ControllerPairingController:
67 void AddObserver(Observer* observer) override; 67 void AddObserver(Observer* observer) override;
68 void RemoveObserver(Observer* observer) override; 68 void RemoveObserver(Observer* observer) override;
69 Stage GetCurrentStage() override; 69 Stage GetCurrentStage() override;
70 void StartPairing() override; 70 void StartPairing() override;
71 DeviceIdList GetDiscoveredDevices() override; 71 DeviceIdList GetDiscoveredDevices() override;
72 void ChooseDeviceForPairing(const std::string& device_id) override; 72 void ChooseDeviceForPairing(const std::string& device_id) override;
73 void RepeatDiscovery() override; 73 void RepeatDiscovery() override;
74 std::string GetConfirmationCode() override; 74 std::string GetConfirmationCode() override;
75 void SetConfirmationCodeIsCorrect(bool correct) override; 75 void SetConfirmationCodeIsCorrect(bool correct) override;
76 void SetHostNetwork(const std::string& onc_spec) override;
76 void SetHostConfiguration(bool accepted_eula, 77 void SetHostConfiguration(bool accepted_eula,
77 const std::string& lang, 78 const std::string& lang,
78 const std::string& timezone, 79 const std::string& timezone,
79 bool send_reports, 80 bool send_reports,
80 const std::string& keyboard_layout) override; 81 const std::string& keyboard_layout) override;
81 void OnAuthenticationDone(const std::string& domain, 82 void OnAuthenticationDone(const std::string& domain,
82 const std::string& auth_token) override; 83 const std::string& auth_token) override;
83 void StartSession() override; 84 void StartSession() override;
84 85
85 private: 86 private:
(...skipping 19 matching lines...) Expand all
105 Stage connection_lost_begin_; 106 Stage connection_lost_begin_;
106 Stage connection_lost_end_; 107 Stage connection_lost_end_;
107 bool enrollment_should_fail_; 108 bool enrollment_should_fail_;
108 109
109 DISALLOW_COPY_AND_ASSIGN(FakeControllerPairingController); 110 DISALLOW_COPY_AND_ASSIGN(FakeControllerPairingController);
110 }; 111 };
111 112
112 } // namespace pairing_chromeos 113 } // namespace pairing_chromeos
113 114
114 #endif // COMPONENTS_PAIRING_FAKE_CONTROLLER_PAIRING_CONTROLLER_H_ 115 #endif // COMPONENTS_PAIRING_FAKE_CONTROLLER_PAIRING_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698