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

Unified Diff: components/sync_wifi/wifi_credential_syncable_service_factory.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_factory.cc
diff --git a/components/wifi_sync/wifi_credential_syncable_service_factory.cc b/components/sync_wifi/wifi_credential_syncable_service_factory.cc
similarity index 86%
rename from components/wifi_sync/wifi_credential_syncable_service_factory.cc
rename to components/sync_wifi/wifi_credential_syncable_service_factory.cc
index efd8a25269a145d3a20f54764894776c487f3bbb..607e4b8bfd2fd725e8f1af771fe7a2925e724838 100644
--- a/components/wifi_sync/wifi_credential_syncable_service_factory.cc
+++ b/components/sync_wifi/wifi_credential_syncable_service_factory.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_factory.h"
+#include "components/sync_wifi/wifi_credential_syncable_service_factory.h"
#include <string>
@@ -10,18 +10,18 @@
#include "base/memory/ptr_util.h"
#include "build/build_config.h"
#include "components/keyed_service/content/browser_context_dependency_manager.h"
-#include "components/wifi_sync/wifi_config_delegate.h"
-#include "components/wifi_sync/wifi_credential_syncable_service.h"
+#include "components/sync_wifi/wifi_config_delegate.h"
+#include "components/sync_wifi/wifi_credential_syncable_service.h"
#include "content/public/browser/browser_context.h"
#if defined(OS_CHROMEOS)
#include "base/files/file_path.h"
#include "chromeos/login/login_state.h"
#include "chromeos/network/network_handler.h"
-#include "components/wifi_sync/wifi_config_delegate_chromeos.h"
+#include "components/sync_wifi/wifi_config_delegate_chromeos.h"
#endif
-namespace wifi_sync {
+namespace sync_wifi {
namespace {
@@ -68,17 +68,15 @@ WifiCredentialSyncableServiceFactory::GetInstance() {
WifiCredentialSyncableServiceFactory::WifiCredentialSyncableServiceFactory()
: BrowserContextKeyedServiceFactory(
- "WifiCredentialSyncableService",
- BrowserContextDependencyManager::GetInstance()) {
-}
+ "WifiCredentialSyncableService",
+ BrowserContextDependencyManager::GetInstance()) {}
-WifiCredentialSyncableServiceFactory::~WifiCredentialSyncableServiceFactory() {
-}
+WifiCredentialSyncableServiceFactory::~WifiCredentialSyncableServiceFactory() {}
KeyedService* WifiCredentialSyncableServiceFactory::BuildServiceInstanceFor(
content::BrowserContext* context) const {
- // TODO(quiche): Figure out if this behaves properly for multi-profile.
- // crbug.com/430681.
+// TODO(quiche): Figure out if this behaves properly for multi-profile.
+// crbug.com/430681.
#if defined(OS_CHROMEOS)
return new WifiCredentialSyncableService(
BuildWifiConfigDelegateChromeOs(context));
@@ -102,4 +100,4 @@ WifiCredentialSyncableServiceFactory::BuildWifiConfigDelegateChromeOs(
}
#endif
-} // namespace wifi_sync
+} // namespace sync_wifi

Powered by Google App Engine
This is Rietveld 408576698