OLD | NEW |
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 COMPONENTS_SYNC_ENGINE_FAKE_SYNC_MANAGER_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_FAKE_SYNC_MANAGER_H_ |
6 #define COMPONENTS_SYNC_ENGINE_FAKE_SYNC_MANAGER_H_ | 6 #define COMPONENTS_SYNC_ENGINE_FAKE_SYNC_MANAGER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
15 #include "components/sync/engine/sync_manager.h" | 15 #include "components/sync/engine/sync_manager.h" |
16 #include "components/sync/syncable/test_user_share.h" | 16 #include "components/sync/syncable/test_user_share.h" |
17 | 17 |
18 class GURL; | |
19 | |
20 namespace base { | 18 namespace base { |
21 class SequencedTaskRunner; | 19 class SequencedTaskRunner; |
22 } | 20 } |
23 | 21 |
24 namespace syncer { | 22 namespace syncer { |
25 | 23 |
26 class FakeSyncEncryptionHandler; | 24 class FakeSyncEncryptionHandler; |
27 | 25 |
28 class FakeSyncManager : public SyncManager { | 26 class FakeSyncManager : public SyncManager { |
29 public: | 27 public: |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 | 149 |
152 // Number of invalidations received since startup. | 150 // Number of invalidations received since startup. |
153 int num_invalidations_received_; | 151 int num_invalidations_received_; |
154 | 152 |
155 DISALLOW_COPY_AND_ASSIGN(FakeSyncManager); | 153 DISALLOW_COPY_AND_ASSIGN(FakeSyncManager); |
156 }; | 154 }; |
157 | 155 |
158 } // namespace syncer | 156 } // namespace syncer |
159 | 157 |
160 #endif // COMPONENTS_SYNC_ENGINE_FAKE_SYNC_MANAGER_H_ | 158 #endif // COMPONENTS_SYNC_ENGINE_FAKE_SYNC_MANAGER_H_ |
OLD | NEW |