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) | |
11 : browser_context_(context) { | |
12 } | |
13 | |
14 WifiCredentialSyncableService::~WifiCredentialSyncableService() { | |
15 } | |
16 | |
17 // Implementation of syncer::SyncableService API. | |
18 | |
19 syncer::SyncMergeResult WifiCredentialSyncableService::MergeDataAndStartSyncing( | |
20 syncer::ModelType type, | |
21 const syncer::SyncDataList& initial_sync_data, | |
22 scoped_ptr<syncer::SyncChangeProcessor> sync_processor, | |
23 scoped_ptr<syncer::SyncErrorFactory> error_handler) { | |
24 NOTIMPLEMENTED(); | |
erikwright (departed)
2014/10/29 18:18:25
Is this a work-in-progress, or ready for review?
mukesh agrawal
2014/10/30 18:41:28
While these implementations are just stubs, I thin
mukesh agrawal
2014/10/30 20:44:54
One more thought... Since these are just stubs, yo
Elliot Glaysher
2014/10/31 20:39:07
I think you should just remove this file, and come
| |
25 return syncer::SyncMergeResult(type); | |
26 } | |
27 | |
28 void WifiCredentialSyncableService::StopSyncing(syncer::ModelType type) { | |
29 NOTIMPLEMENTED(); | |
30 } | |
31 | |
32 syncer::SyncDataList WifiCredentialSyncableService::GetAllSyncData( | |
33 syncer::ModelType type) const { | |
34 NOTIMPLEMENTED(); | |
35 return syncer::SyncDataList(); | |
36 } | |
37 | |
38 syncer::SyncError WifiCredentialSyncableService::ProcessSyncChanges( | |
39 const tracked_objects::Location& from_here, | |
40 const syncer::SyncChangeList& change_list) { | |
41 NOTIMPLEMENTED(); | |
42 return syncer::SyncError(); | |
43 } | |
44 | |
45 // Methods called from UI layer. | |
46 | |
47 bool WifiCredentialSyncableService::IsRunning() { | |
48 NOTIMPLEMENTED(); | |
49 return false; | |
50 } | |
51 | |
52 void WifiCredentialSyncableService::AddToSyncedNetworks( | |
53 const std::string& item_id, | |
54 const std::vector<unsigned char>& ssid, | |
55 WifiSecurityClass security_class, | |
56 const std::string& passphrase) { | |
57 NOTIMPLEMENTED(); | |
58 } | |
59 | |
60 void WifiCredentialSyncableService::RemoveFromSyncedNetworks( | |
61 const std::string& item_id) { | |
62 NOTIMPLEMENTED(); | |
63 } | |
64 | |
65 // static | |
66 const char* WifiCredentialSyncableService::GetNormalizedSecurityClass( | |
67 WifiSecurityClass security_class) { | |
68 NOTIMPLEMENTED(); | |
69 return nullptr; | |
70 } | |
71 | |
72 } // namespace wifi_sync | |
OLD | NEW |