summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/cros/network_library_impl_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/cros/network_library_impl_base.h')
-rw-r--r--chrome/browser/chromeos/cros/network_library_impl_base.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/cros/network_library_impl_base.h b/chrome/browser/chromeos/cros/network_library_impl_base.h
index 24c885b..bdbc543 100644
--- a/chrome/browser/chromeos/cros/network_library_impl_base.h
+++ b/chrome/browser/chromeos/cros/network_library_impl_base.h
@@ -335,6 +335,14 @@ class NetworkLibraryImplBase : public NetworkLibrary {
void AddNetwork(Network* network);
void DeleteNetwork(Network* network);
+ // Calls ForgetNetwork for remembered wifi and virtual networks based on id.
+ // When |if_found| is true, then it forgets networks that appear in |ids|.
+ // When |if_found| is false, it removes networks that do NOT appear in |ids|.
+ // |source| is the import source of the data.
+ void ForgetNetworksById(NetworkUIData::ONCSource source,
+ std::set<std::string> ids,
+ bool if_found);
+
// Checks whether |network| has meanwhile been pruned by ONC policy. If so,
// instructs flimflam to remove the network, deletes |network| and returns
// false.