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

Side by Side Diff: components/wifi_sync/wifi_credential_syncable_service.cc

Issue 675993005: components: add wifi_sync component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@local-master
Patch Set: rename component, and add stub wifi_credential_syncable_service Created 6 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 unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698