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

Unified Diff: chromeos/network/network_state_handler.h

Issue 2701463003: Create a Tether section in the system tray network list. (Closed)
Patch Set: Use NetworkStateHandler::GetTechnologyState and explicitly fetch the Tether networks in NetworkList… Created 3 years, 10 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
Index: chromeos/network/network_state_handler.h
diff --git a/chromeos/network/network_state_handler.h b/chromeos/network/network_state_handler.h
index 5b502253073fd93c24b3ca97282351dac6dafdef..69ee59a886aa9e8b034d5dbbfd79179b040b68e5 100644
--- a/chromeos/network/network_state_handler.h
+++ b/chromeos/network/network_state_handler.h
@@ -91,7 +91,8 @@ class CHROMEOS_EXPORT NetworkStateHandler
const tracked_objects::Location& from_here);
// Returns the state for technology |type|. Only
- // NetworkTypePattern::Primitive, ::Mobile and ::Ethernet are supported.
+ // NetworkTypePattern::Primitive, ::Mobile, ::Ethernet, and ::Tether are
+ // supported.
TechnologyState GetTechnologyState(const NetworkTypePattern& type) const;
bool IsTechnologyAvailable(const NetworkTypePattern& type) const {
return GetTechnologyState(type) != TECHNOLOGY_UNAVAILABLE;

Powered by Google App Engine
This is Rietveld 408576698