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

Unified Diff: chrome/browser/chromeos/options/network_config_view.h

Issue 4169001: Rewritten parts of NetworkLibrary to work around memory corruption that prev... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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: chrome/browser/chromeos/options/network_config_view.h
===================================================================
--- chrome/browser/chromeos/options/network_config_view.h (revision 64441)
+++ chrome/browser/chromeos/options/network_config_view.h (working copy)
@@ -42,14 +42,14 @@
};
// Configure dialog for ethernet.
- explicit NetworkConfigView(EthernetNetwork ethernet);
+ explicit NetworkConfigView(const EthernetNetwork* ethernet);
// Configure dialog for wifi. If |login_only|, then only show login tab.
- explicit NetworkConfigView(WifiNetwork wifi, bool login_only);
+ explicit NetworkConfigView(const WifiNetwork* wifi, bool login_only);
// Configure dialog for cellular.
- explicit NetworkConfigView(CellularNetwork cellular);
+ explicit NetworkConfigView(const CellularNetwork* cellular);
// Login dialog for hidden networks.
explicit NetworkConfigView();
- virtual ~NetworkConfigView() {}
+ virtual ~NetworkConfigView();
// Returns corresponding native window.
gfx::NativeWindow GetNativeWindow() const;
@@ -116,9 +116,9 @@
// NetworkConfigFlags to specify which UIs to show.
int flags_;
- EthernetNetwork ethernet_;
- WifiNetwork wifi_;
- CellularNetwork cellular_;
+ EthernetNetwork* ethernet_;
+ WifiNetwork* wifi_;
+ CellularNetwork* cellular_;
CellularConfigView* cellularconfig_view_;
WifiConfigView* wificonfig_view_;
« no previous file with comments | « chrome/browser/chromeos/options/internet_page_view.cc ('k') | chrome/browser/chromeos/options/network_config_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698