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

Unified Diff: chrome/browser/chromeos/options/wifi_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/wifi_config_view.h
===================================================================
--- chrome/browser/chromeos/options/wifi_config_view.h (revision 64441)
+++ chrome/browser/chromeos/options/wifi_config_view.h (working copy)
@@ -31,9 +31,9 @@
public views::ButtonListener,
public SelectFileDialog::Listener {
public:
- WifiConfigView(NetworkConfigView* parent, WifiNetwork wifi);
+ WifiConfigView(NetworkConfigView* parent, const WifiNetwork* wifi);
explicit WifiConfigView(NetworkConfigView* parent);
- virtual ~WifiConfigView() {}
+ virtual ~WifiConfigView();
// views::Textfield::Controller methods.
virtual void ContentsChanged(views::Textfield* sender,
@@ -86,7 +86,7 @@
// contents change.
bool can_login_;
- WifiNetwork wifi_;
+ scoped_ptr<WifiNetwork> wifi_;
views::Textfield* ssid_textfield_;
views::Textfield* identity_textfield_;
« no previous file with comments | « chrome/browser/chromeos/options/network_config_view.cc ('k') | chrome/browser/chromeos/options/wifi_config_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698