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

Side by Side Diff: chrome/browser/ui/webui/options/chromeos/internet_options_handler.h

Issue 547703004: Some JS cleanup, including proper ownership of ONC properties. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_279351_internet_options_8b
Patch Set: Rebase Created 6 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 virtual void RegisterMessages() OVERRIDE; 51 virtual void RegisterMessages() OVERRIDE;
52 52
53 // Callbacks to set network state properties. 53 // Callbacks to set network state properties.
54 void EnableWifiCallback(const base::ListValue* args); 54 void EnableWifiCallback(const base::ListValue* args);
55 void DisableWifiCallback(const base::ListValue* args); 55 void DisableWifiCallback(const base::ListValue* args);
56 void EnableCellularCallback(const base::ListValue* args); 56 void EnableCellularCallback(const base::ListValue* args);
57 void DisableCellularCallback(const base::ListValue* args); 57 void DisableCellularCallback(const base::ListValue* args);
58 void EnableWimaxCallback(const base::ListValue* args); 58 void EnableWimaxCallback(const base::ListValue* args);
59 void DisableWimaxCallback(const base::ListValue* args); 59 void DisableWimaxCallback(const base::ListValue* args);
60 void ShowMorePlanInfoCallback(const base::ListValue* args); 60 void ShowMorePlanInfoCallback(const base::ListValue* args);
61 void BuyDataPlanCallback(const base::ListValue* args);
62 void SetApnCallback(const base::ListValue* args); 61 void SetApnCallback(const base::ListValue* args);
63 void SetApnProperties(const base::ListValue* args, 62 void SetApnProperties(const base::ListValue* args,
64 const std::string& service_path, 63 const std::string& service_path,
65 const base::DictionaryValue& shill_properties); 64 const base::DictionaryValue& shill_properties);
66 void CarrierStatusCallback(); 65 void CarrierStatusCallback();
67 void SetCarrierCallback(const base::ListValue* args); 66 void SetCarrierCallback(const base::ListValue* args);
68 void SetSimCardLockCallback(const base::ListValue* args); 67 void SetSimCardLockCallback(const base::ListValue* args);
69 void ChangePinCallback(const base::ListValue* args); 68 void ChangePinCallback(const base::ListValue* args);
70 void RefreshNetworksCallback(const base::ListValue* args); 69 void RefreshNetworksCallback(const base::ListValue* args);
71 70
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 // of this object. 152 // of this object.
154 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_; 153 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_;
155 154
156 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); 155 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler);
157 }; 156 };
158 157
159 } // namespace options 158 } // namespace options
160 } // namespace chromeos 159 } // namespace chromeos
161 160
162 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ 161 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698