Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Side by Side Diff: components/wifi_sync/wifi_config_delegate.h

Issue 1426393003: NOT FOR REVIEW Base URL: https://chromium.googlesource.com/chromium/src.git@submit-4.5-split-wcss
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/wifi_sync/BUILD.gn ('k') | components/wifi_sync/wifi_config_delegate_chromeos.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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 COMPONENTS_WIFI_SYNC_WIFI_CONFIG_DELEGATE_H_ 5 #ifndef COMPONENTS_WIFI_SYNC_WIFI_CONFIG_DELEGATE_H_
6 #define COMPONENTS_WIFI_SYNC_WIFI_CONFIG_DELEGATE_H_ 6 #define COMPONENTS_WIFI_SYNC_WIFI_CONFIG_DELEGATE_H_
7 7
8 namespace wifi_sync { 8 namespace wifi_sync {
9 9
10 class WifiCredential; 10 class WifiCredential;
11 11
12 // Interface for platform-specific delegates, which provide the ability 12 // Interface for platform-specific delegates. Such delegates a)
13 // to configure local WiFi networks settings. 13 // provide the ability to configure local WiFi networks settings, and
14 // b) report local configuration changes to a
15 // WifiCredentialSyncableService;
14 class WifiConfigDelegate { 16 class WifiConfigDelegate {
15 public: 17 public:
16 virtual ~WifiConfigDelegate() {} 18 virtual ~WifiConfigDelegate() {}
17 19
18 // Adds a local network configuration entry for a WiFi network using 20 // Adds a local network configuration entry for a WiFi network using
19 // the properties of |network_credential|. If the entry already 21 // the properties of |network_credential|. If the entry already
20 // exists, the entry's passphrase is updated. 22 // exists, the entry's passphrase is updated.
21 virtual void AddToLocalNetworks( 23 virtual void AddToLocalNetworks(
22 const WifiCredential& network_credential) = 0; 24 const WifiCredential& network_credential) = 0;
23 }; 25 };
24 26
25 } // namespace wifi_sync 27 } // namespace wifi_sync
26 28
27 #endif // COMPONENTS_WIFI_SYNC_WIFI_CONFIG_DELEGATE_H_ 29 #endif // COMPONENTS_WIFI_SYNC_WIFI_CONFIG_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/wifi_sync/BUILD.gn ('k') | components/wifi_sync/wifi_config_delegate_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698