| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_SERVICE_CLI
ENT_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_SERVICE_CLI
ENT_H_ |
| 6 #define EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_SERVICE_CLI
ENT_H_ | 6 #define EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_SERVICE_CLI
ENT_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 void SetProperties(const std::string& guid, | 61 void SetProperties(const std::string& guid, |
| 62 std::unique_ptr<base::DictionaryValue> properties_dict, | 62 std::unique_ptr<base::DictionaryValue> properties_dict, |
| 63 bool allow_set_shared_config, | 63 bool allow_set_shared_config, |
| 64 const VoidCallback& success_callback, | 64 const VoidCallback& success_callback, |
| 65 const FailureCallback& failure_callback) override; | 65 const FailureCallback& failure_callback) override; |
| 66 void CreateNetwork(bool shared, | 66 void CreateNetwork(bool shared, |
| 67 std::unique_ptr<base::DictionaryValue> properties_dict, | 67 std::unique_ptr<base::DictionaryValue> properties_dict, |
| 68 const StringCallback& success_callback, | 68 const StringCallback& success_callback, |
| 69 const FailureCallback& failure_callback) override; | 69 const FailureCallback& failure_callback) override; |
| 70 void ForgetNetwork(const std::string& guid, | 70 void ForgetNetwork(const std::string& guid, |
| 71 bool allow_forget_shared_config, |
| 71 const VoidCallback& success_callback, | 72 const VoidCallback& success_callback, |
| 72 const FailureCallback& failure_callback) override; | 73 const FailureCallback& failure_callback) override; |
| 73 void GetNetworks(const std::string& network_type, | 74 void GetNetworks(const std::string& network_type, |
| 74 bool configured_only, | 75 bool configured_only, |
| 75 bool visible_only, | 76 bool visible_only, |
| 76 int limit, | 77 int limit, |
| 77 const NetworkListCallback& success_callback, | 78 const NetworkListCallback& success_callback, |
| 78 const FailureCallback& failure_callback) override; | 79 const FailureCallback& failure_callback) override; |
| 79 void StartConnect(const std::string& guid, | 80 void StartConnect(const std::string& guid, |
| 80 const VoidCallback& success_callback, | 81 const VoidCallback& success_callback, |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 scoped_refptr<base::SequencedTaskRunner> task_runner_; | 181 scoped_refptr<base::SequencedTaskRunner> task_runner_; |
| 181 // Use WeakPtrs for callbacks from |wifi_service_|. | 182 // Use WeakPtrs for callbacks from |wifi_service_|. |
| 182 base::WeakPtrFactory<NetworkingPrivateServiceClient> weak_factory_; | 183 base::WeakPtrFactory<NetworkingPrivateServiceClient> weak_factory_; |
| 183 | 184 |
| 184 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateServiceClient); | 185 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateServiceClient); |
| 185 }; | 186 }; |
| 186 | 187 |
| 187 } // namespace extensions | 188 } // namespace extensions |
| 188 | 189 |
| 189 #endif // EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_SERVICE_
CLIENT_H_ | 190 #endif // EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_SERVICE_
CLIENT_H_ |
| OLD | NEW |