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

Unified Diff: chrome/browser/chromeos/cros/network_library.h

Issue 4818002: Fix favorite and auto_connect property usage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for comments. Created 10 years, 1 month 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 | « chrome/app/generated_resources.grd ('k') | chrome/browser/chromeos/cros/network_library.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/cros/network_library.h
diff --git a/chrome/browser/chromeos/cros/network_library.h b/chrome/browser/chromeos/cros/network_library.h
index 714bc8089d4ef331e56bcfef4e160103c9daeea7..701335f8fb6f7d74d248abce0837aea99a439b1a 100644
--- a/chrome/browser/chromeos/cros/network_library.h
+++ b/chrome/browser/chromeos/cros/network_library.h
@@ -132,7 +132,9 @@ class WirelessNetwork : public Network {
bool favorite() const { return favorite_; }
void set_auto_connect(bool auto_connect) { auto_connect_ = auto_connect; }
- void set_favorite(bool favorite) { favorite_ = favorite; }
+ // We don't have a setter for |favorite_| because to unfavorite a network is
+ // equivalent to forget a network, so we call forget network on cros for
+ // that. See ForgetWifiNetwork().
// Network overrides.
virtual void Clear();
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chromeos/cros/network_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698