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

Unified Diff: chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.h

Issue 10212003: Cleanup of network code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with trunk. 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
Index: chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.h
diff --git a/chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.h b/chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.h
index 4cdcca525129c795a81c7f9070ca1cc10c0cb30b..84271eb5e584e18ec8b8aa673b81da7eee8ddd4b 100644
--- a/chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.h
+++ b/chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.h
@@ -59,13 +59,14 @@ class InternetOptionsHandler
void CreateModalPopup(views::WidgetDelegate* view);
gfx::NativeWindow GetNativeWindow() const;
- // Passes data needed to show details overlay for network.
+ // Passes data needed to show the details overlay for a network.
// |args| will be [ network_type, service_path, command ]
// And command is one of 'options', 'connect', disconnect', 'activate' or
// 'forget'
- // Handle{Wifi,Cellular}ButtonClick handles button click on a wireless
- // network item and a cellular network item respectively.
- void ButtonClickCallback(const base::ListValue* args);
+ void NetworkCommandCallback(const base::ListValue* args);
+
+ // Handle{Wifi,Cellular,VPN}ButtonClick handles button click on a wireless,
+ // cellular or VPN network item, respectively.
void HandleWifiButtonClick(const std::string& service_path,
const std::string& command);
void HandleCellularButtonClick(const std::string& service_path,

Powered by Google App Engine
This is Rietveld 408576698