Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "components/wifi_sync/wifi_credential_syncable_service.h" | |
| 6 | |
| 7 namespace wifi_sync { | |
| 8 | |
| 9 WifiCredentialSyncableService::WifiCredentialSyncableService( | |
| 10 content::BrowserContext *context) : browser_context_(context) {} | |
| 11 | |
| 12 WifiCredentialSyncableService::~WifiCredentialSyncableService() { | |
| 13 } | |
|
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.)
| |
| 14 | |
| 15 // Implementation of syncer::SyncableService API. | |
| 16 | |
| 17 syncer::SyncMergeResult WifiCredentialSyncableService::MergeDataAndStartSyncing( | |
| 18 syncer::ModelType type, | |
| 19 const syncer::SyncDataList& initial_sync_data, | |
| 20 scoped_ptr<syncer::SyncChangeProcessor> sync_processor, | |
| 21 scoped_ptr<syncer::SyncErrorFactory> error_handler) { | |
| 22 NOTIMPLEMENTED(); | |
| 23 return syncer::SyncMergeResult(type); | |
| 24 } | |
| 25 | |
| 26 void WifiCredentialSyncableService::StopSyncing(syncer::ModelType type) { | |
| 27 NOTIMPLEMENTED(); | |
| 28 } | |
| 29 | |
| 30 syncer::SyncDataList WifiCredentialSyncableService::GetAllSyncData( | |
| 31 syncer::ModelType type) const { | |
| 32 NOTIMPLEMENTED(); | |
| 33 return syncer::SyncDataList(); | |
| 34 } | |
| 35 | |
| 36 syncer::SyncError WifiCredentialSyncableService::ProcessSyncChanges( | |
| 37 const tracked_objects::Location& from_here, | |
| 38 const syncer::SyncChangeList& change_list) { | |
| 39 NOTIMPLEMENTED(); | |
| 40 return syncer::SyncError(); | |
| 41 } | |
| 42 | |
| 43 // Methods called from UI layer. | |
| 44 | |
| 45 bool WifiCredentialSyncableService::IsRunning() { | |
| 46 NOTIMPLEMENTED(); | |
| 47 return false; | |
| 48 } | |
| 49 | |
| 50 void WifiCredentialSyncableService::AddToSyncedNetworks( | |
| 51 const std::string& item_id, | |
| 52 const std::vector<unsigned char>& ssid, | |
| 53 WifiSecurityClass security_class, | |
| 54 const std::string& passphrase) { | |
| 55 NOTIMPLEMENTED(); | |
| 56 } | |
| 57 | |
| 58 void WifiCredentialSyncableService::RemoveFromSyncedNetworks( | |
| 59 const std::string& item_id) { | |
| 60 NOTIMPLEMENTED(); | |
| 61 } | |
| 62 | |
| 63 // static | |
| 64 const char* WifiCredentialSyncableService::GetNormalizedSecurityClass( | |
| 65 WifiSecurityClass security_class) { | |
| 66 NOTIMPLEMENTED(); | |
| 67 return nullptr; | |
| 68 } | |
| 69 | |
| 70 } // namespace wifi_sync | |
| OLD | NEW |