| 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 <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 bool enabled, | 76 bool enabled, |
| 77 const StringCallback& success_callback, | 77 const StringCallback& success_callback, |
| 78 const FailureCallback& failure_callback) override; | 78 const FailureCallback& failure_callback) override; |
| 79 void GetWifiTDLSStatus(const std::string& ip_or_mac_address, | 79 void GetWifiTDLSStatus(const std::string& ip_or_mac_address, |
| 80 const StringCallback& success_callback, | 80 const StringCallback& success_callback, |
| 81 const FailureCallback& failure_callback) override; | 81 const FailureCallback& failure_callback) override; |
| 82 void GetCaptivePortalStatus(const std::string& guid, | 82 void GetCaptivePortalStatus(const std::string& guid, |
| 83 const StringCallback& success_callback, | 83 const StringCallback& success_callback, |
| 84 const FailureCallback& failure_callback) override; | 84 const FailureCallback& failure_callback) override; |
| 85 scoped_ptr<base::ListValue> GetEnabledNetworkTypes() override; | 85 scoped_ptr<base::ListValue> GetEnabledNetworkTypes() override; |
| 86 scoped_ptr<DeviceStateList> GetDeviceStateList() override; |
| 86 bool EnableNetworkType(const std::string& type) override; | 87 bool EnableNetworkType(const std::string& type) override; |
| 87 bool DisableNetworkType(const std::string& type) override; | 88 bool DisableNetworkType(const std::string& type) override; |
| 88 bool RequestScan() override; | 89 bool RequestScan() override; |
| 89 void AddObserver(NetworkingPrivateDelegateObserver* observer) override; | 90 void AddObserver(NetworkingPrivateDelegateObserver* observer) override; |
| 90 void RemoveObserver(NetworkingPrivateDelegateObserver* observer) override; | 91 void RemoveObserver(NetworkingPrivateDelegateObserver* observer) override; |
| 91 | 92 |
| 92 private: | 93 private: |
| 93 ~NetworkingPrivateLinux() override; | 94 ~NetworkingPrivateLinux() override; |
| 94 | 95 |
| 95 // https://developer.gnome.org/NetworkManager/unstable/spec.html#type-NM_DEVIC
E_TYPE | 96 // 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... |
| 257 scoped_ptr<NetworkMap> network_map_; | 258 scoped_ptr<NetworkMap> network_map_; |
| 258 // Observers to Network Events. | 259 // Observers to Network Events. |
| 259 ObserverList<NetworkingPrivateDelegateObserver> network_events_observers_; | 260 ObserverList<NetworkingPrivateDelegateObserver> network_events_observers_; |
| 260 | 261 |
| 261 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateLinux); | 262 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateLinux); |
| 262 }; | 263 }; |
| 263 | 264 |
| 264 } // namespace extensions | 265 } // namespace extensions |
| 265 | 266 |
| 266 #endif // EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_LINUX_H_ | 267 #endif // EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_LINUX_H_ |
| OLD | NEW |