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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 219
220 // Returns whether cellular networking is enabled. 220 // Returns whether cellular networking is enabled.
221 virtual bool GetCellularEnabled() = 0; 221 virtual bool GetCellularEnabled() = 0;
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 and locale specific |setup_url|.
230 // retrieved, returns false. 230 // If none of the carrier info/setup URL cannot be retrieved, returns false.
231 // Note: |setup_url| is returned when carrier is not defined (no SIM card).
231 virtual bool GetCellularCarrierInfo(std::string* carrier_id, 232 virtual bool GetCellularCarrierInfo(std::string* carrier_id,
232 std::string* toup_url) = 0; 233 std::string* topup_url,
234 std::string* setup_url) = 0;
233 235
234 // Opens the top up url. 236 // Opens the cellular network specific URL.
235 virtual void ShowCellularTopupURL(const std::string& topup_url) = 0; 237 virtual void ShowCellularURL(const std::string& url) = 0;
236 238
237 // Shows UI for changing proxy settings. 239 // Shows UI for changing proxy settings.
238 virtual void ChangeProxySettings() = 0; 240 virtual void ChangeProxySettings() = 0;
239 }; 241 };
240 242
241 } // namespace ash 243 } // namespace ash
242 244
243 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 245 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
OLDNEW
« 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