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

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

Issue 10700154: Remove #pragma once from sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « no previous file | 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 #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
8 7
9 #include "sync/api/syncable_service.h" 8 #include "sync/api/syncable_service.h"
10 9
11 namespace syncer { 10 namespace syncer {
12 11
13 class SyncErrorFactory; 12 class SyncErrorFactory;
14 13
15 // A fake SyncableService that can return arbitrary values and maintains the 14 // A fake SyncableService that can return arbitrary values and maintains the
16 // syncing status. 15 // syncing status.
17 class FakeSyncableService : public SyncableService { 16 class FakeSyncableService : public SyncableService {
(...skipping 25 matching lines...) Expand all
43 scoped_ptr<SyncChangeProcessor> sync_processor_; 42 scoped_ptr<SyncChangeProcessor> sync_processor_;
44 SyncError merge_data_and_start_syncing_error_; 43 SyncError merge_data_and_start_syncing_error_;
45 SyncError process_sync_changes_error_; 44 SyncError process_sync_changes_error_;
46 bool syncing_; 45 bool syncing_;
47 syncer::ModelType type_; 46 syncer::ModelType type_;
48 }; 47 };
49 48
50 } // namespace syncer 49 } // namespace syncer
51 50
52 #endif // SYNC_API_FAKE_SYNCABLE_SERVICE_H_ 51 #endif // SYNC_API_FAKE_SYNCABLE_SERVICE_H_
OLDNEW
« no previous file with comments | « no previous file | sync/api/sync_change.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698