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

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

Issue 10050030: chromeos: Stop leaking combobox models in VPNConfigView dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/options/vpn_config_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/options/vpn_config_view.h
diff --git a/chrome/browser/chromeos/options/vpn_config_view.h b/chrome/browser/chromeos/options/vpn_config_view.h
index 39e121d5612a2d0ee8f974752ad078286d2e7640..509e9313a39899e6f09e115be2ddf4dffa563365 100644
--- a/chrome/browser/chromeos/options/vpn_config_view.h
+++ b/chrome/browser/chromeos/options/vpn_config_view.h
@@ -8,6 +8,7 @@
#include <string>
+#include "base/memory/scoped_ptr.h"
#include "base/string16.h"
#include "chrome/browser/chromeos/cros/cert_library.h"
#include "chrome/browser/chromeos/options/network_config_view.h"
@@ -18,6 +19,12 @@
#include "ui/views/controls/textfield/textfield_controller.h"
#include "ui/views/view.h"
+namespace internal {
tfarina 2012/04/11 22:48:27 I put this outside of chromeos namespace intention
stevenjb 2012/04/12 17:46:28 We shouldn't use 'chromeos' as the differentiator
+class ProviderTypeComboboxModel;
+class ServerCACertComboboxModel;
+class UserCertComboboxModel;
+}
+
namespace views {
class Label;
}
@@ -134,13 +141,17 @@ class VPNConfigView : public ChildNetworkConfigView,
views::Textfield* server_textfield_;
views::Label* service_text_;
views::Textfield* service_textfield_;
+ scoped_ptr<internal::ProviderTypeComboboxModel> provider_type_combobox_model_;
views::Combobox* provider_type_combobox_;
views::Label* provider_type_text_label_;
views::Label* psk_passphrase_label_;
PassphraseTextfield* psk_passphrase_textfield_;
views::Label* user_cert_label_;
+ scoped_ptr<internal::UserCertComboboxModel> user_cert_combobox_model_;
views::Combobox* user_cert_combobox_;
views::Label* server_ca_cert_label_;
+ scoped_ptr<internal::ServerCACertComboboxModel>
+ server_ca_cert_combobox_model_;
views::Combobox* server_ca_cert_combobox_;
views::Textfield* username_textfield_;
PassphraseTextfield* user_passphrase_textfield_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/options/vpn_config_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698