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

Unified Diff: components/sync_wifi/wifi_security_class.h

Issue 2463463004: [Sync] Rename wifi_sync to sync_wifi. (Closed)
Patch Set: Created 4 years, 2 months 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/sync_wifi/wifi_credential_unittest.cc ('k') | components/sync_wifi/wifi_security_class.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « components/sync_wifi/wifi_credential_unittest.cc ('k') | components/sync_wifi/wifi_security_class.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698