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

Unified Diff: components/sync_wifi/wifi_credential_syncable_service.cc

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_syncable_service.cc
diff --git a/components/wifi_sync/wifi_credential_syncable_service.cc b/components/sync_wifi/wifi_credential_syncable_service.cc
similarity index 95%
rename from components/wifi_sync/wifi_credential_syncable_service.cc
rename to components/sync_wifi/wifi_credential_syncable_service.cc
index 75534b248002b24f30b0663fc08ec02241e788eb..b6b29342c752a6f87c77594e7906a55ea1922996 100644
--- a/components/wifi_sync/wifi_credential_syncable_service.cc
+++ b/components/sync_wifi/wifi_credential_syncable_service.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/wifi_sync/wifi_credential_syncable_service.h"
+#include "components/sync_wifi/wifi_credential_syncable_service.h"
#include <stdint.h>
@@ -16,10 +16,10 @@
#include "components/sync/model/sync_error_factory.h"
#include "components/sync/model/sync_merge_result.h"
#include "components/sync/protocol/sync.pb.h"
-#include "components/wifi_sync/wifi_credential.h"
-#include "components/wifi_sync/wifi_security_class.h"
+#include "components/sync_wifi/wifi_credential.h"
+#include "components/sync_wifi/wifi_security_class.h"
-namespace wifi_sync {
+namespace sync_wifi {
namespace {
@@ -113,8 +113,7 @@ WifiCredentialSyncableService::WifiCredentialSyncableService(
DCHECK(network_config_delegate_);
}
-WifiCredentialSyncableService::~WifiCredentialSyncableService() {
-}
+WifiCredentialSyncableService::~WifiCredentialSyncableService() {}
syncer::SyncMergeResult WifiCredentialSyncableService::MergeDataAndStartSyncing(
syncer::ModelType type,
@@ -205,8 +204,8 @@ bool WifiCredentialSyncableService::AddToSyncedNetworks(
return false;
}
- const SsidAndSecurityClass network_id(
- credential.ssid(), credential.security_class());
+ const SsidAndSecurityClass network_id(credential.ssid(),
+ credential.security_class());
if (synced_networks_and_passphrases_.find(network_id) !=
synced_networks_and_passphrases_.end()) {
// TODO(quiche): If passphrase has changed, submit this to sync as
@@ -232,4 +231,4 @@ bool WifiCredentialSyncableService::AddToSyncedNetworks(
return true;
}
-} // namespace wifi_sync
+} // namespace sync_wifi

Powered by Google App Engine
This is Rietveld 408576698