OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CHROME_BROWSER_UI_WEBUI_LOCAL_DISCOVERY_LOCAL_DISCOVERY_UI_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_LOCAL_DISCOVERY_LOCAL_DISCOVERY_UI_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_LOCAL_DISCOVERY_LOCAL_DISCOVERY_UI_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_LOCAL_DISCOVERY_LOCAL_DISCOVERY_UI_HANDLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 const base::DictionaryValue* json) override; | 65 const base::DictionaryValue* json) override; |
66 void OnPrivetRegisterDone(PrivetRegisterOperation* operation, | 66 void OnPrivetRegisterDone(PrivetRegisterOperation* operation, |
67 const std::string& device_id) override; | 67 const std::string& device_id) override; |
68 | 68 |
69 // PrivetV3SetupFlow::Delegate implementation. | 69 // PrivetV3SetupFlow::Delegate implementation. |
70 scoped_ptr<GCDApiFlow> CreateApiFlow() override; | 70 scoped_ptr<GCDApiFlow> CreateApiFlow() override; |
71 void GetWiFiCredentials(const CredentialsCallback& callback) override; | 71 void GetWiFiCredentials(const CredentialsCallback& callback) override; |
72 void SwitchToSetupWiFi(const ResultCallback& callback) override; | 72 void SwitchToSetupWiFi(const ResultCallback& callback) override; |
73 void CreatePrivetV3Client(const std::string& service_name, | 73 void CreatePrivetV3Client(const std::string& service_name, |
74 const PrivetClientCallback& callback) override; | 74 const PrivetClientCallback& callback) override; |
75 void ConfirmSecurityCode(const std::string& confirmation_code, | 75 void ConfirmSecurityCode(const ResultCallback& callback) override; |
76 const ResultCallback& callback) override; | |
77 void RestoreWifi(const ResultCallback& callback) override; | 76 void RestoreWifi(const ResultCallback& callback) override; |
78 void OnSetupDone() override; | 77 void OnSetupDone() override; |
79 void OnSetupError() override; | 78 void OnSetupError() override; |
80 | 79 |
81 // PrivetDeviceLister::Delegate implementation. | 80 // PrivetDeviceLister::Delegate implementation. |
82 void DeviceChanged(bool added, | 81 void DeviceChanged(bool added, |
83 const std::string& name, | 82 const std::string& name, |
84 const DeviceDescription& description) override; | 83 const DeviceDescription& description) override; |
85 void DeviceRemoved(const std::string& name) override; | 84 void DeviceRemoved(const std::string& name) override; |
86 void DeviceCacheFlushed() override; | 85 void DeviceCacheFlushed() override; |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 scoped_ptr<wifi::BootstrappingDeviceLister> bootstrapping_device_lister_; | 228 scoped_ptr<wifi::BootstrappingDeviceLister> bootstrapping_device_lister_; |
230 #endif | 229 #endif |
231 | 230 |
232 DISALLOW_COPY_AND_ASSIGN(LocalDiscoveryUIHandler); | 231 DISALLOW_COPY_AND_ASSIGN(LocalDiscoveryUIHandler); |
233 }; | 232 }; |
234 | 233 |
235 #undef CLOUD_PRINT_CONNECTOR_UI_AVAILABLE | 234 #undef CLOUD_PRINT_CONNECTOR_UI_AVAILABLE |
236 | 235 |
237 } // namespace local_discovery | 236 } // namespace local_discovery |
238 #endif // CHROME_BROWSER_UI_WEBUI_LOCAL_DISCOVERY_LOCAL_DISCOVERY_UI_HANDLER_H_ | 237 #endif // CHROME_BROWSER_UI_WEBUI_LOCAL_DISCOVERY_LOCAL_DISCOVERY_UI_HANDLER_H_ |
OLD | NEW |