Index: components/wifi_sync/network_state_helper_chromeos.h |
diff --git a/components/wifi_sync/network_state_helper_chromeos.h b/components/wifi_sync/network_state_helper_chromeos.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..311ea18cbe8aa458720447a66cd2faebe82dda6a |
--- /dev/null |
+++ b/components/wifi_sync/network_state_helper_chromeos.h |
@@ -0,0 +1,28 @@ |
+// 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_WIFI_SYNC_NETWORK_STATE_HELPER_CHROMEOS_H_ |
+#define COMPONENTS_WIFI_SYNC_NETWORK_STATE_HELPER_CHROMEOS_H_ |
+ |
+#include <string> |
+ |
+#include "components/wifi_sync/wifi_credential.h" |
+ |
+namespace chromeos { |
+class NetworkStateHandler; |
+} |
+ |
+// Functions which deal with ChromeOS-specific network state. |
erikwright (departed)
2014/12/08 21:21:36
This comment is confusing (1 since it is on a name
mukesh agrawal
2014/12/09 01:45:27
Done.
|
+namespace wifi_sync { |
+ |
+// 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 wifi_sync |
+ |
+#endif // COMPONENTS_WIFI_SYNC_NETWORK_STATE_HELPER_CHROMEOS_H_ |