Add abhijeet.k@samsung.com to AUTHORS list.
[chromium-blink-merge.git] / components / wifi_sync / wifi_config_delegate.h
blob74a701301675becbe54c1129b751c13dd4324e45
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_WIFI_SYNC_WIFI_CONFIG_DELEGATE_H_
6 #define COMPONENTS_WIFI_SYNC_WIFI_CONFIG_DELEGATE_H_
8 namespace wifi_sync {
10 class WifiCredential;
12 // Interface for platform-specific delegates, which provide the ability
13 // to configure local WiFi networks settings.
14 class WifiConfigDelegate {
15 public:
16 virtual ~WifiConfigDelegate() {}
18 // Adds a local network configuration entry for a WiFi network using
19 // the properties of |network_credential|. If the entry already
20 // exists, the entry's passphrase is updated.
21 virtual void AddToLocalNetworks(
22 const WifiCredential& network_credential) = 0;
25 } // namespace wifi_sync
27 #endif // COMPONENTS_WIFI_SYNC_WIFI_CONFIG_DELEGATE_H_