OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_LINUX_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_LINUX_H_ |
6 #define EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_LINUX_H_ | 6 #define EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_LINUX_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 const FailureCallback& failure_callback) override; | 88 const FailureCallback& failure_callback) override; |
89 void SetCellularSimState(const std::string& guid, | 89 void SetCellularSimState(const std::string& guid, |
90 bool require_pin, | 90 bool require_pin, |
91 const std::string& current_pin, | 91 const std::string& current_pin, |
92 const std::string& new_pin, | 92 const std::string& new_pin, |
93 const VoidCallback& success_callback, | 93 const VoidCallback& success_callback, |
94 const FailureCallback& failure_callback) override; | 94 const FailureCallback& failure_callback) override; |
95 std::unique_ptr<base::ListValue> GetEnabledNetworkTypes() override; | 95 std::unique_ptr<base::ListValue> GetEnabledNetworkTypes() override; |
96 std::unique_ptr<DeviceStateList> GetDeviceStateList() override; | 96 std::unique_ptr<DeviceStateList> GetDeviceStateList() override; |
97 std::unique_ptr<base::DictionaryValue> GetGlobalPolicy() override; | 97 std::unique_ptr<base::DictionaryValue> GetGlobalPolicy() override; |
| 98 std::unique_ptr<base::DictionaryValue> GetCertificateLists() override; |
98 bool EnableNetworkType(const std::string& type) override; | 99 bool EnableNetworkType(const std::string& type) override; |
99 bool DisableNetworkType(const std::string& type) override; | 100 bool DisableNetworkType(const std::string& type) override; |
100 bool RequestScan() override; | 101 bool RequestScan() override; |
101 void AddObserver(NetworkingPrivateDelegateObserver* observer) override; | 102 void AddObserver(NetworkingPrivateDelegateObserver* observer) override; |
102 void RemoveObserver(NetworkingPrivateDelegateObserver* observer) override; | 103 void RemoveObserver(NetworkingPrivateDelegateObserver* observer) override; |
103 | 104 |
104 private: | 105 private: |
105 ~NetworkingPrivateLinux() override; | 106 ~NetworkingPrivateLinux() override; |
106 | 107 |
107 // https://developer.gnome.org/NetworkManager/unstable/spec.html#type-NM_DEVIC
E_TYPE | 108 // https://developer.gnome.org/NetworkManager/unstable/spec.html#type-NM_DEVIC
E_TYPE |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 // Observers to Network Events. | 270 // Observers to Network Events. |
270 base::ObserverList<NetworkingPrivateDelegateObserver> | 271 base::ObserverList<NetworkingPrivateDelegateObserver> |
271 network_events_observers_; | 272 network_events_observers_; |
272 | 273 |
273 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateLinux); | 274 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateLinux); |
274 }; | 275 }; |
275 | 276 |
276 } // namespace extensions | 277 } // namespace extensions |
277 | 278 |
278 #endif // EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_LINUX_H_ | 279 #endif // EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_LINUX_H_ |
OLD | NEW |