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

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: address style issues from stevenjb's review of PS9 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
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_

Powered by Google App Engine
This is Rietveld 408576698