Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: components/wifi_sync/network_state_helper_chromeos.h

Issue 709683004: components: add wifi_sync component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@submit-1-security-class
Patch Set: fix android_aosp build Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/wifi_sync/OWNERS ('k') | components/wifi_sync/network_state_helper_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..5163ee3e105d90fdeff1b031b77191a7ba27940d
--- /dev/null
+++ b/components/wifi_sync/network_state_helper_chromeos.h
@@ -0,0 +1,27 @@
+// 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;
+}
+
+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_
« no previous file with comments | « components/wifi_sync/OWNERS ('k') | components/wifi_sync/network_state_helper_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698