OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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_NETWORK_STATE_HELPER_CHROMEOS_H_ | 5 #ifndef COMPONENTS_SYNC_WIFI_NETWORK_STATE_HELPER_CHROMEOS_H_ |
6 #define COMPONENTS_WIFI_SYNC_NETWORK_STATE_HELPER_CHROMEOS_H_ | 6 #define COMPONENTS_SYNC_WIFI_NETWORK_STATE_HELPER_CHROMEOS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "components/wifi_sync/wifi_credential.h" | 10 #include "components/sync_wifi/wifi_credential.h" |
11 | 11 |
12 namespace chromeos { | 12 namespace chromeos { |
13 class NetworkStateHandler; | 13 class NetworkStateHandler; |
14 } | 14 } |
15 | 15 |
16 namespace wifi_sync { | 16 namespace sync_wifi { |
17 | 17 |
18 // Returns a platform-agnostic representation of the ChromeOS network | 18 // Returns a platform-agnostic representation of the ChromeOS network |
19 // configuration state. The configuration state is filtered, so that | 19 // configuration state. The configuration state is filtered, so that |
20 // only items related to ChromeOS |shill_profile_path| are returned. | 20 // only items related to ChromeOS |shill_profile_path| are returned. |
21 WifiCredential::CredentialSet GetWifiCredentialsForShillProfile( | 21 WifiCredential::CredentialSet GetWifiCredentialsForShillProfile( |
22 chromeos::NetworkStateHandler* network_state_handler, | 22 chromeos::NetworkStateHandler* network_state_handler, |
23 const std::string& shill_profile_path); | 23 const std::string& shill_profile_path); |
24 | 24 |
25 } // namespace wifi_sync | 25 } // namespace sync_wifi |
26 | 26 |
27 #endif // COMPONENTS_WIFI_SYNC_NETWORK_STATE_HELPER_CHROMEOS_H_ | 27 #endif // COMPONENTS_SYNC_WIFI_NETWORK_STATE_HELPER_CHROMEOS_H_ |
OLD | NEW |