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

Unified Diff: components/wifi_sync/wifi_credential_syncable_service.h

Issue 1426393003: NOT FOR REVIEW Base URL: https://chromium.googlesource.com/chromium/src.git@submit-4.5-split-wcss
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698