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

Unified Diff: ash/system/tray/system_tray_delegate.h

Issue 10201015: [cros] Add network tray item for mobile network setup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/system/network/tray_network.cc ('k') | chrome/browser/chromeos/cros/network_library.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray_delegate.h
diff --git a/ash/system/tray/system_tray_delegate.h b/ash/system/tray/system_tray_delegate.h
index c3992964e4554752c066fb1805b6797042fd8df1..3d95d2e5ef3bfe95212412c7d7a65713e1cd979e 100644
--- a/ash/system/tray/system_tray_delegate.h
+++ b/ash/system/tray/system_tray_delegate.h
@@ -226,13 +226,15 @@ class SystemTrayDelegate {
// Returns whether cellular scanning is supported.
virtual bool GetCellularScanSupported() = 0;
- // Retrieves information about the carrier. If the information cannot be
- // retrieved, returns false.
+ // Retrieves information about the carrier and locale specific |setup_url|.
+ // If none of the carrier info/setup URL cannot be retrieved, returns false.
+ // Note: |setup_url| is returned when carrier is not defined (no SIM card).
virtual bool GetCellularCarrierInfo(std::string* carrier_id,
- std::string* toup_url) = 0;
+ std::string* topup_url,
+ std::string* setup_url) = 0;
- // Opens the top up url.
- virtual void ShowCellularTopupURL(const std::string& topup_url) = 0;
+ // Opens the cellular network specific URL.
+ virtual void ShowCellularURL(const std::string& url) = 0;
// Shows UI for changing proxy settings.
virtual void ChangeProxySettings() = 0;
« no previous file with comments | « ash/system/network/tray_network.cc ('k') | chrome/browser/chromeos/cros/network_library.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698