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

Side by Side Diff: components/wifi_sync/wifi_credential_syncable_service.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « components/wifi_sync/DEPS ('k') | components/wifi_sync/wifi_credential_syncable_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_H_ 5 #ifndef COMPONENTS_WIFI_SYNC_WIFI_CREDENTIAL_SYNCABLE_SERVICE_H_
6 #define COMPONENTS_WIFI_SYNC_WIFI_CREDENTIAL_SYNCABLE_SERVICE_H_ 6 #define COMPONENTS_WIFI_SYNC_WIFI_CREDENTIAL_SYNCABLE_SERVICE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "components/keyed_service/core/keyed_service.h" 14 #include "components/keyed_service/core/keyed_service.h"
15 #include "components/sync/api/sync_change_processor.h"
16 #include "components/sync/api/syncable_service.h"
15 #include "components/wifi_sync/wifi_config_delegate.h" 17 #include "components/wifi_sync/wifi_config_delegate.h"
16 #include "components/wifi_sync/wifi_credential.h" 18 #include "components/wifi_sync/wifi_credential.h"
17 #include "components/wifi_sync/wifi_security_class.h" 19 #include "components/wifi_sync/wifi_security_class.h"
18 #include "sync/api/sync_change_processor.h"
19 #include "sync/api/syncable_service.h"
20 20
21 namespace wifi_sync { 21 namespace wifi_sync {
22 22
23 // KeyedService that synchronizes WiFi credentials between local settings, 23 // KeyedService that synchronizes WiFi credentials between local settings,
24 // and Chrome Sync. 24 // and Chrome Sync.
25 // 25 //
26 // This service does not necessarily own the storage for WiFi 26 // This service does not necessarily own the storage for WiFi
27 // credentials. In particular, on ChromeOS, WiFi credential storage is 27 // credentials. In particular, on ChromeOS, WiFi credential storage is
28 // managed by the ChromeOS connection manager ("Shill"). 28 // managed by the ChromeOS connection manager ("Shill").
29 // 29 //
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // Sync. All synced networks must be included in this map, even if 85 // Sync. All synced networks must be included in this map, even if
86 // they do not use passphrases. 86 // they do not use passphrases.
87 SsidAndSecurityClassToPassphrase synced_networks_and_passphrases_; 87 SsidAndSecurityClassToPassphrase synced_networks_and_passphrases_;
88 88
89 DISALLOW_COPY_AND_ASSIGN(WifiCredentialSyncableService); 89 DISALLOW_COPY_AND_ASSIGN(WifiCredentialSyncableService);
90 }; 90 };
91 91
92 } // namespace wifi_sync 92 } // namespace wifi_sync
93 93
94 #endif // COMPONENTS_WIFI_SYNC_WIFI_CREDENTIAL_SYNCABLE_SERVICE_H_ 94 #endif // COMPONENTS_WIFI_SYNC_WIFI_CREDENTIAL_SYNCABLE_SERVICE_H_
OLDNEW
« no previous file with comments | « components/wifi_sync/DEPS ('k') | components/wifi_sync/wifi_credential_syncable_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698