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

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

Issue 700383008: Use setProperties for Cellular APN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_430113_internet_options_2
Patch Set: Created 6 years, 1 month 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // OptionsPageUIHandler 45 // OptionsPageUIHandler
46 virtual void GetLocalizedValues( 46 virtual void GetLocalizedValues(
47 base::DictionaryValue* localized_strings) override; 47 base::DictionaryValue* localized_strings) override;
48 virtual void InitializePage() override; 48 virtual void InitializePage() override;
49 49
50 // WebUIMessageHandler (from OptionsPageUIHandler) 50 // WebUIMessageHandler (from OptionsPageUIHandler)
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 ShowMorePlanInfoCallback(const base::ListValue* args); 54 void ShowMorePlanInfoCallback(const base::ListValue* args);
55 void SetApnCallback(const base::ListValue* args);
56 void SetApnProperties(const base::ListValue* args,
57 const std::string& service_path,
58 const base::DictionaryValue& shill_properties);
59 void CarrierStatusCallback(); 55 void CarrierStatusCallback();
60 void SetCarrierCallback(const base::ListValue* args); 56 void SetCarrierCallback(const base::ListValue* args);
61 void SimOperationCallback(const base::ListValue* args); 57 void SimOperationCallback(const base::ListValue* args);
62 58
63 // networkingPrvate callbacks 59 // networkingPrvate callbacks
64 void DisableNetworkTypeCallback(const base::ListValue* args); 60 void DisableNetworkTypeCallback(const base::ListValue* args);
65 void EnableNetworkTypeCallback(const base::ListValue* args); 61 void EnableNetworkTypeCallback(const base::ListValue* args);
66 void GetManagedPropertiesCallback(const base::ListValue* args); 62 void GetManagedPropertiesCallback(const base::ListValue* args);
67 void RequestNetworkScanCallback(const base::ListValue* args); 63 void RequestNetworkScanCallback(const base::ListValue* args);
68 void StartConnectCallback(const base::ListValue* args); 64 void StartConnectCallback(const base::ListValue* args);
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 // of this object. 137 // of this object.
142 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_; 138 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_;
143 139
144 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); 140 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler);
145 }; 141 };
146 142
147 } // namespace options 143 } // namespace options
148 } // namespace chromeos 144 } // namespace chromeos
149 145
150 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ 146 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698