Chromium Code Reviews| Index: components/wifi_sync/wifi_credential_syncable_service.cc |
| diff --git a/components/wifi_sync/wifi_credential_syncable_service.cc b/components/wifi_sync/wifi_credential_syncable_service.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..380df751f9f907bb9ff04ebaf86b2ab38c47f512 |
| --- /dev/null |
| +++ b/components/wifi_sync/wifi_credential_syncable_service.cc |
| @@ -0,0 +1,70 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// 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.h" |
| + |
| +namespace wifi_sync { |
| + |
| +WifiCredentialSyncableService::WifiCredentialSyncableService( |
| + content::BrowserContext *context) : browser_context_(context) {} |
| + |
| +WifiCredentialSyncableService::~WifiCredentialSyncableService() { |
| +} |
|
stevenjb
2014/10/28 21:17:31
Are both of these google-clang-formatted? (It just
mukesh agrawal
2014/10/29 00:41:34
Done. (Ran "git cl format" over the patch.)
|
| + |
| +// Implementation of syncer::SyncableService API. |
| + |
| +syncer::SyncMergeResult WifiCredentialSyncableService::MergeDataAndStartSyncing( |
| + syncer::ModelType type, |
| + const syncer::SyncDataList& initial_sync_data, |
| + scoped_ptr<syncer::SyncChangeProcessor> sync_processor, |
| + scoped_ptr<syncer::SyncErrorFactory> error_handler) { |
| + NOTIMPLEMENTED(); |
| + return syncer::SyncMergeResult(type); |
| +} |
| + |
| +void WifiCredentialSyncableService::StopSyncing(syncer::ModelType type) { |
| + NOTIMPLEMENTED(); |
| +} |
| + |
| +syncer::SyncDataList WifiCredentialSyncableService::GetAllSyncData( |
| + syncer::ModelType type) const { |
| + NOTIMPLEMENTED(); |
| + return syncer::SyncDataList(); |
| +} |
| + |
| +syncer::SyncError WifiCredentialSyncableService::ProcessSyncChanges( |
| + const tracked_objects::Location& from_here, |
| + const syncer::SyncChangeList& change_list) { |
| + NOTIMPLEMENTED(); |
| + return syncer::SyncError(); |
| +} |
| + |
| +// Methods called from UI layer. |
| + |
| +bool WifiCredentialSyncableService::IsRunning() { |
| + NOTIMPLEMENTED(); |
| + return false; |
| +} |
| + |
| +void WifiCredentialSyncableService::AddToSyncedNetworks( |
| + const std::string& item_id, |
| + const std::vector<unsigned char>& ssid, |
| + WifiSecurityClass security_class, |
| + const std::string& passphrase) { |
| + NOTIMPLEMENTED(); |
| +} |
| + |
| +void WifiCredentialSyncableService::RemoveFromSyncedNetworks( |
| + const std::string& item_id) { |
| + NOTIMPLEMENTED(); |
| +} |
| + |
| +// static |
| +const char* WifiCredentialSyncableService::GetNormalizedSecurityClass( |
| + WifiSecurityClass security_class) { |
| + NOTIMPLEMENTED(); |
| + return nullptr; |
| +} |
| + |
| +} // namespace wifi_sync |