Index: components/sync_wifi/wifi_security_class.h |
diff --git a/components/wifi_sync/wifi_security_class.h b/components/sync_wifi/wifi_security_class.h |
similarity index 88% |
rename from components/wifi_sync/wifi_security_class.h |
rename to components/sync_wifi/wifi_security_class.h |
index 726635de15f77df585020348200f3bef7f1058b6..87bf8727446c78bb2be756d6cf24b0dd47bf2c02 100644 |
--- a/components/wifi_sync/wifi_security_class.h |
+++ b/components/sync_wifi/wifi_security_class.h |
@@ -2,15 +2,15 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef COMPONENTS_WIFI_SYNC_WIFI_SECURITY_CLASS_H_ |
-#define COMPONENTS_WIFI_SYNC_WIFI_SECURITY_CLASS_H_ |
+#ifndef COMPONENTS_SYNC_WIFI_WIFI_SECURITY_CLASS_H_ |
+#define COMPONENTS_SYNC_WIFI_WIFI_SECURITY_CLASS_H_ |
#include <string> |
#include "build/build_config.h" |
#include "components/sync/protocol/sync.pb.h" |
-namespace wifi_sync { |
+namespace sync_wifi { |
enum WifiSecurityClass { |
SECURITY_CLASS_INVALID, |
@@ -27,8 +27,7 @@ bool WifiSecurityClassSupportsPassphrases(WifiSecurityClass security_class); |
// Converts from Chrome Sync's serialized form of a security class, to |
// a WifiSecurityClass. Returns the appropriate WifiSecurityClass |
// value. If |sync_enum| is unrecognized, returns SECURITY_CLASS_INVALID. |
-WifiSecurityClass |
-WifiSecurityClassFromSyncSecurityClass( |
+WifiSecurityClass WifiSecurityClassFromSyncSecurityClass( |
sync_pb::WifiCredentialSpecifics_SecurityClass sync_enum); |
// Converts from a WifiSecurityClass enum to Chrome Sync's serialized |
@@ -54,6 +53,6 @@ WifiSecurityClass WifiSecurityClassFromShillSecurity( |
const std::string& shill_security); |
#endif // OS_CHROMEOS |
-} // namespace wifi_sync |
+} // namespace sync_wifi |
-#endif // COMPONENTS_WIFI_SYNC_WIFI_SECURITY_CLASS_H_ |
+#endif // COMPONENTS_SYNC_WIFI_WIFI_SECURITY_CLASS_H_ |