blob: 5dc0220e0755446e4ab4f9e00c4e3c1a941c3cb9 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_SYNC_WIFI_NETWORK_STATE_HELPER_CHROMEOS_H_
#define COMPONENTS_SYNC_WIFI_NETWORK_STATE_HELPER_CHROMEOS_H_
#include <string>
#include "components/sync_wifi/wifi_credential.h"
namespace chromeos {
class NetworkStateHandler;
}
namespace sync_wifi {
// Returns a platform-agnostic representation of the ChromeOS network
// configuration state. The configuration state is filtered, so that
// only items related to ChromeOS |shill_profile_path| are returned.
WifiCredential::CredentialSet GetWifiCredentialsForShillProfile(
chromeos::NetworkStateHandler* network_state_handler,
const std::string& shill_profile_path);
} // namespace sync_wifi
#endif // COMPONENTS_SYNC_WIFI_NETWORK_STATE_HELPER_CHROMEOS_H_