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

Unified Diff: components/sync_wifi/wifi_credential.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
Index: components/sync_wifi/wifi_credential.h
diff --git a/components/wifi_sync/wifi_credential.h b/components/sync_wifi/wifi_credential.h
similarity index 88%
rename from components/wifi_sync/wifi_credential.h
rename to components/sync_wifi/wifi_credential.h
index 5b5107f9252d3c91ed233c992d05f56e182ce154..8f6c71975716a7d4e86185b114f552fc29ad8399 100644
--- a/components/wifi_sync/wifi_credential.h
+++ b/components/sync_wifi/wifi_credential.h
@@ -2,8 +2,8 @@
// 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_CREDENTIAL_H_
-#define COMPONENTS_WIFI_SYNC_WIFI_CREDENTIAL_H_
+#ifndef COMPONENTS_SYNC_WIFI_WIFI_CREDENTIAL_H_
+#define COMPONENTS_SYNC_WIFI_WIFI_CREDENTIAL_H_
#include <stdint.h>
@@ -12,13 +12,13 @@
#include <string>
#include <vector>
-#include "components/wifi_sync/wifi_security_class.h"
+#include "components/sync_wifi/wifi_security_class.h"
namespace base {
class DictionaryValue;
}
-namespace wifi_sync {
+namespace sync_wifi {
// A container to hold the information required to locate and connect
// to a WiFi network.
@@ -29,9 +29,9 @@ class WifiCredential final { // final because the class is copyable
// (inclusive). There are no restrictions on the values of those
// bytes. The SSID is not, e.g., required to be encoded as UTF-8.
using SsidBytes = std::vector<uint8_t>;
- using CredentialSet = std::set<
- WifiCredential,
- bool(*)(const WifiCredential&a, const WifiCredential& b)>;
+ using CredentialSet =
+ std::set<WifiCredential,
+ bool (*)(const WifiCredential& a, const WifiCredential& b)>;
WifiCredential(const WifiCredential& other);
~WifiCredential();
@@ -89,6 +89,6 @@ class WifiCredential final { // final because the class is copyable
const std::string passphrase_;
};
-} // namespace wifi_sync
+} // namespace sync_wifi
-#endif // COMPONENTS_WIFI_SYNC_WIFI_CREDENTIAL_H_
+#endif // COMPONENTS_SYNC_WIFI_WIFI_CREDENTIAL_H_
« no previous file with comments | « components/sync_wifi/wifi_config_delegate_chromeos_unittest.cc ('k') | components/sync_wifi/wifi_credential.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698