| Index: components/wifi_sync/wifi_credential_syncable_service.h
|
| diff --git a/components/wifi_sync/wifi_credential_syncable_service.h b/components/wifi_sync/wifi_credential_syncable_service.h
|
| index 4bb35bfad59f2573d39805b0f9252931e3164766..2eb1c43e03ee490d38b7cbcc07bda9936ebecc29 100644
|
| --- a/components/wifi_sync/wifi_credential_syncable_service.h
|
| +++ b/components/wifi_sync/wifi_credential_syncable_service.h
|
| @@ -5,8 +5,6 @@
|
| #ifndef COMPONENTS_WIFI_SYNC_WIFI_CREDENTIAL_SYNCABLE_SERVICE_H_
|
| #define COMPONENTS_WIFI_SYNC_WIFI_CREDENTIAL_SYNCABLE_SERVICE_H_
|
|
|
| -#include <string>
|
| -
|
| #include "components/keyed_service/core/keyed_service.h"
|
| #include "sync/api/syncable_service.h"
|
|
|
| @@ -19,16 +17,13 @@ class WifiCredential;
|
| class WifiCredentialSyncableService
|
| : public syncer::SyncableService, public KeyedService {
|
| public:
|
| - // Adds a WiFiCredential to Chrome Sync. |item_id| is a persistent
|
| - // identifier which can be used to later remove the credential. It
|
| - // is an error to add a network that already exists. It is also an
|
| - // error to call this method before MergeDataAndStartSyncing(), or
|
| - // after StopSyncing().
|
| + // Adds a WiFiCredential to Chrome Sync. It is an error to add a
|
| + // network that already exists. It is also an error to call this
|
| + // method before MergeDataAndStartSyncing(), or after StopSyncing().
|
| //
|
| // TODO(quiche): Allow changing a credential, by addding it again.
|
| // crbug.com/431436
|
| - virtual bool AddToSyncedNetworks(const std::string& item_id,
|
| - const WifiCredential& credential) = 0;
|
| + virtual bool AddToSyncedNetworks(const WifiCredential& credential) = 0;
|
| };
|
|
|
| } // namespace wifi_sync
|
|
|