OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 5 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 | 222 |
223 // Returns whether bluetooth is enabled. | 223 // Returns whether bluetooth is enabled. |
224 virtual bool GetBluetoothEnabled() = 0; | 224 virtual bool GetBluetoothEnabled() = 0; |
225 | 225 |
226 // Returns whether cellular scanning is supported. | 226 // Returns whether cellular scanning is supported. |
227 virtual bool GetCellularScanSupported() = 0; | 227 virtual bool GetCellularScanSupported() = 0; |
228 | 228 |
229 // Retrieves information about the carrier. If the information cannot be | 229 // Retrieves information about the carrier. If the information cannot be |
230 // retrieved, returns false. | 230 // retrieved, returns false. |
231 virtual bool GetCellularCarrierInfo(std::string* carrier_id, | 231 virtual bool GetCellularCarrierInfo(std::string* carrier_id, |
232 std::string* toup_url) = 0; | 232 std::string* topup_url, |
| 233 std::string* setup_url) = 0; |
233 | 234 |
234 // Opens the top up url. | 235 // Opens the cellular network specific URL. |
235 virtual void ShowCellularTopupURL(const std::string& topup_url) = 0; | 236 virtual void ShowCellularURL(const std::string& url) = 0; |
236 | 237 |
237 // Shows UI for changing proxy settings. | 238 // Shows UI for changing proxy settings. |
238 virtual void ChangeProxySettings() = 0; | 239 virtual void ChangeProxySettings() = 0; |
239 }; | 240 }; |
240 | 241 |
241 } // namespace ash | 242 } // namespace ash |
242 | 243 |
243 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 244 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
OLD | NEW |