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

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

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
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 #ifndef SYNC_API_FAKE_SYNCABLE_SERVICE_H_ 5 #ifndef SYNC_API_FAKE_SYNCABLE_SERVICE_H_
6 #define SYNC_API_FAKE_SYNCABLE_SERVICE_H_ 6 #define SYNC_API_FAKE_SYNCABLE_SERVICE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "sync/api/syncable_service.h" 9 #include "sync/api/syncable_service.h"
10 10
11 namespace csync { 11 namespace syncer {
12 12
13 class SyncErrorFactory; 13 class SyncErrorFactory;
14 14
15 // A fake SyncableService that can return arbitrary values and maintains the 15 // A fake SyncableService that can return arbitrary values and maintains the
16 // syncing status. 16 // syncing status.
17 class FakeSyncableService : public SyncableService { 17 class FakeSyncableService : public SyncableService {
18 public: 18 public:
19 FakeSyncableService(); 19 FakeSyncableService();
20 virtual ~FakeSyncableService(); 20 virtual ~FakeSyncableService();
21 21
(...skipping 18 matching lines...) Expand all
40 const SyncChangeList& change_list) OVERRIDE; 40 const SyncChangeList& change_list) OVERRIDE;
41 41
42 private: 42 private:
43 scoped_ptr<SyncChangeProcessor> sync_processor_; 43 scoped_ptr<SyncChangeProcessor> sync_processor_;
44 SyncError merge_data_and_start_syncing_error_; 44 SyncError merge_data_and_start_syncing_error_;
45 SyncError process_sync_changes_error_; 45 SyncError process_sync_changes_error_;
46 bool syncing_; 46 bool syncing_;
47 syncable::ModelType type_; 47 syncable::ModelType type_;
48 }; 48 };
49 49
50 } // namespace csync 50 } // namespace syncer
51 51
52 #endif // SYNC_API_FAKE_SYNCABLE_SERVICE_H_ 52 #endif // SYNC_API_FAKE_SYNCABLE_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/webdata/autofill_profile_syncable_service_unittest.cc ('k') | sync/api/fake_syncable_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698