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

Side by Side Diff: components/sync_wifi/wifi_credential_syncable_service_factory.h

Issue 2463463004: [Sync] Rename wifi_sync to sync_wifi. (Closed)
Patch Set: Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_WIFI_SYNC_WIFI_CREDENTIAL_SYNCABLE_SERVICE_FACTORY_H_ 5 #ifndef COMPONENTS_SYNC_WIFI_WIFI_CREDENTIAL_SYNCABLE_SERVICE_FACTORY_H_
6 #define COMPONENTS_WIFI_SYNC_WIFI_CREDENTIAL_SYNCABLE_SERVICE_FACTORY_H_ 6 #define COMPONENTS_SYNC_WIFI_WIFI_CREDENTIAL_SYNCABLE_SERVICE_FACTORY_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/singleton.h" 11 #include "base/memory/singleton.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "components/keyed_service/content/browser_context_keyed_service_factory .h" 13 #include "components/keyed_service/content/browser_context_keyed_service_factory .h"
14 14
15 namespace content { 15 namespace content {
16 class BrowserContext; 16 class BrowserContext;
17 } 17 }
18 18
19 namespace wifi_sync { 19 namespace sync_wifi {
20 20
21 class WifiConfigDelegate; 21 class WifiConfigDelegate;
22 class WifiCredentialSyncableService; 22 class WifiCredentialSyncableService;
23 23
24 // Singleton that owns all WifiCredentialSyncableServices and 24 // Singleton that owns all WifiCredentialSyncableServices and
25 // associates them with Profiles. Listens for the Profile's 25 // associates them with Profiles. Listens for the Profile's
26 // destruction notification and cleans up the associated 26 // destruction notification and cleans up the associated
27 // WifiCredentialSyncableServices. 27 // WifiCredentialSyncableServices.
28 class WifiCredentialSyncableServiceFactory 28 class WifiCredentialSyncableServiceFactory
29 : public BrowserContextKeyedServiceFactory { 29 : public BrowserContextKeyedServiceFactory {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // Whether or not we should use LoginState to associate a new 65 // Whether or not we should use LoginState to associate a new
66 // SyncableService with a Shill profile. Should be set to true in 66 // SyncableService with a Shill profile. Should be set to true in
67 // sync integration tests, where it is not possible to control 67 // sync integration tests, where it is not possible to control
68 // LoginState at the time SyncableServices are constructed. 68 // LoginState at the time SyncableServices are constructed.
69 bool ignore_login_state_for_test_ = false; 69 bool ignore_login_state_for_test_ = false;
70 #endif 70 #endif
71 71
72 DISALLOW_COPY_AND_ASSIGN(WifiCredentialSyncableServiceFactory); 72 DISALLOW_COPY_AND_ASSIGN(WifiCredentialSyncableServiceFactory);
73 }; 73 };
74 74
75 } // namespace wifi_sync 75 } // namespace sync_wifi
76 76
77 #endif // COMPONENTS_WIFI_SYNC_WIFI_CREDENTIAL_SYNCABLE_SERVICE_FACTORY_H_ 77 #endif // COMPONENTS_SYNC_WIFI_WIFI_CREDENTIAL_SYNCABLE_SERVICE_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698