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

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: Allow Cellular in shill_property_util::CopyIdentifyingProperties to fix unit test Created 5 years, 10 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 private: 44 private:
45 // OptionsPageUIHandler 45 // OptionsPageUIHandler
46 void GetLocalizedValues(base::DictionaryValue* localized_strings) override; 46 void GetLocalizedValues(base::DictionaryValue* localized_strings) override;
47 void InitializePage() override; 47 void InitializePage() override;
48 48
49 // WebUIMessageHandler (from OptionsPageUIHandler) 49 // WebUIMessageHandler (from OptionsPageUIHandler)
50 void RegisterMessages() override; 50 void RegisterMessages() override;
51 51
52 // Callbacks to set network state properties. 52 // Callbacks to set network state properties.
53 void ShowMorePlanInfoCallback(const base::ListValue* args); 53 void ShowMorePlanInfoCallback(const base::ListValue* args);
54 void SetApnCallback(const base::ListValue* args);
55 void SetApnProperties(const base::ListValue* args,
56 const std::string& service_path,
57 const base::DictionaryValue& shill_properties);
58 void CarrierStatusCallback(); 54 void CarrierStatusCallback();
59 void SetCarrierCallback(const base::ListValue* args); 55 void SetCarrierCallback(const base::ListValue* args);
60 void SimOperationCallback(const base::ListValue* args); 56 void SimOperationCallback(const base::ListValue* args);
61 57
62 // networkingPrvate callbacks 58 // networkingPrvate callbacks
63 void DisableNetworkTypeCallback(const base::ListValue* args); 59 void DisableNetworkTypeCallback(const base::ListValue* args);
64 void EnableNetworkTypeCallback(const base::ListValue* args); 60 void EnableNetworkTypeCallback(const base::ListValue* args);
65 void GetManagedPropertiesCallback(const base::ListValue* args); 61 void GetManagedPropertiesCallback(const base::ListValue* args);
66 void RequestNetworkScanCallback(const base::ListValue* args); 62 void RequestNetworkScanCallback(const base::ListValue* args);
67 void StartConnectCallback(const base::ListValue* args); 63 void StartConnectCallback(const base::ListValue* args);
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 // of this object. 134 // of this object.
139 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_; 135 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_;
140 136
141 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); 137 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler);
142 }; 138 };
143 139
144 } // namespace options 140 } // namespace options
145 } // namespace chromeos 141 } // namespace chromeos
146 142
147 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ 143 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698