Add owners for offlinepages
[chromium-blink-merge.git] / components / wifi_sync / network_state_helper_chromeos.h
blob5163ee3e105d90fdeff1b031b77191a7ba27940d
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
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_WIFI_SYNC_NETWORK_STATE_HELPER_CHROMEOS_H_
6 #define COMPONENTS_WIFI_SYNC_NETWORK_STATE_HELPER_CHROMEOS_H_
8 #include <string>
10 #include "components/wifi_sync/wifi_credential.h"
12 namespace chromeos {
13 class NetworkStateHandler;
16 namespace wifi_sync {
18 // Returns a platform-agnostic representation of the ChromeOS network
19 // configuration state. The configuration state is filtered, so that
20 // only items related to ChromeOS |shill_profile_path| are returned.
21 WifiCredential::CredentialSet GetWifiCredentialsForShillProfile(
22 chromeos::NetworkStateHandler* network_state_handler,
23 const std::string& shill_profile_path);
25 } // namespace wifi_sync
27 #endif // COMPONENTS_WIFI_SYNC_NETWORK_STATE_HELPER_CHROMEOS_H_