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

Side by Side Diff: sync/api/fake_syncable_service.cc

Issue 10698014: [Sync] Rename csync namespace to syncer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years, 5 months 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 | Annotate | Revision Log
« no previous file with comments | « sync/api/fake_syncable_service.h ('k') | sync/api/sync_change.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "sync/api/fake_syncable_service.h" 5 #include "sync/api/fake_syncable_service.h"
6 6
7 #include "base/location.h" 7 #include "base/location.h"
8 #include "sync/api/sync_error_factory.h" 8 #include "sync/api/sync_error_factory.h"
9 9
10 namespace csync { 10 namespace syncer {
11 11
12 FakeSyncableService::FakeSyncableService() 12 FakeSyncableService::FakeSyncableService()
13 : syncing_(false), 13 : syncing_(false),
14 type_(syncable::UNSPECIFIED) {} 14 type_(syncable::UNSPECIFIED) {}
15 15
16 FakeSyncableService::~FakeSyncableService() {} 16 FakeSyncableService::~FakeSyncableService() {}
17 17
18 void FakeSyncableService::set_merge_data_and_start_syncing_error( 18 void FakeSyncableService::set_merge_data_and_start_syncing_error(
19 const SyncError& error) { 19 const SyncError& error) {
20 merge_data_and_start_syncing_error_ = error; 20 merge_data_and_start_syncing_error_ = error;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 syncable::ModelType type) const { 52 syncable::ModelType type) const {
53 return SyncDataList(); 53 return SyncDataList();
54 } 54 }
55 55
56 SyncError FakeSyncableService::ProcessSyncChanges( 56 SyncError FakeSyncableService::ProcessSyncChanges(
57 const tracked_objects::Location& from_here, 57 const tracked_objects::Location& from_here,
58 const SyncChangeList& change_list) { 58 const SyncChangeList& change_list) {
59 return process_sync_changes_error_; 59 return process_sync_changes_error_;
60 } 60 }
61 61
62 } // namespace csync 62 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/api/fake_syncable_service.h ('k') | sync/api/sync_change.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698