| 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_CHROMEOS_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_CHROMEOS_H_ |
| 6 #define EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_CHROMEOS_H_ | 6 #define EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_CHROMEOS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 void SetProperties(const std::string& guid, | 43 void SetProperties(const std::string& guid, |
| 44 std::unique_ptr<base::DictionaryValue> properties, | 44 std::unique_ptr<base::DictionaryValue> properties, |
| 45 bool allow_set_shared_config, | 45 bool allow_set_shared_config, |
| 46 const VoidCallback& success_callback, | 46 const VoidCallback& success_callback, |
| 47 const FailureCallback& failure_callback) override; | 47 const FailureCallback& failure_callback) override; |
| 48 void CreateNetwork(bool shared, | 48 void CreateNetwork(bool shared, |
| 49 std::unique_ptr<base::DictionaryValue> properties, | 49 std::unique_ptr<base::DictionaryValue> properties, |
| 50 const StringCallback& success_callback, | 50 const StringCallback& success_callback, |
| 51 const FailureCallback& failure_callback) override; | 51 const FailureCallback& failure_callback) override; |
| 52 void ForgetNetwork(const std::string& guid, | 52 void ForgetNetwork(const std::string& guid, |
| 53 bool allow_forget_shared_config, |
| 53 const VoidCallback& success_callback, | 54 const VoidCallback& success_callback, |
| 54 const FailureCallback& failure_callback) override; | 55 const FailureCallback& failure_callback) override; |
| 55 void GetNetworks(const std::string& network_type, | 56 void GetNetworks(const std::string& network_type, |
| 56 bool configured_only, | 57 bool configured_only, |
| 57 bool visible_only, | 58 bool visible_only, |
| 58 int limit, | 59 int limit, |
| 59 const NetworkListCallback& success_callback, | 60 const NetworkListCallback& success_callback, |
| 60 const FailureCallback& failure_callback) override; | 61 const FailureCallback& failure_callback) override; |
| 61 void StartConnect(const std::string& guid, | 62 void StartConnect(const std::string& guid, |
| 62 const VoidCallback& success_callback, | 63 const VoidCallback& success_callback, |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 | 128 |
| 128 content::BrowserContext* browser_context_; | 129 content::BrowserContext* browser_context_; |
| 129 base::WeakPtrFactory<NetworkingPrivateChromeOS> weak_ptr_factory_; | 130 base::WeakPtrFactory<NetworkingPrivateChromeOS> weak_ptr_factory_; |
| 130 | 131 |
| 131 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateChromeOS); | 132 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateChromeOS); |
| 132 }; | 133 }; |
| 133 | 134 |
| 134 } // namespace extensions | 135 } // namespace extensions |
| 135 | 136 |
| 136 #endif // EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_CHROMEOS
_H_ | 137 #endif // EXTENSIONS_BROWSER_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_CHROMEOS
_H_ |
| OLD | NEW |