OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_DRIVER_GLUE_SYNC_BACKEND_HOST_MOCK_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_MOCK_H_ |
6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_MOCK_H_ | 6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_MOCK_H_ |
7 | 7 |
| 8 #include <memory> |
8 #include <string> | 9 #include <string> |
9 | 10 |
10 #include "base/callback.h" | 11 #include "base/callback.h" |
11 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
12 #include "components/sync/base/weak_handle.h" | 13 #include "components/sync/base/weak_handle.h" |
13 #include "components/sync/driver/glue/sync_backend_host.h" | 14 #include "components/sync/driver/glue/sync_backend_host.h" |
14 | 15 |
15 namespace syncer { | 16 namespace syncer { |
16 | 17 |
17 // A mock of the SyncBackendHost. | 18 // A mock of the SyncBackendHost. |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 | 114 |
114 void set_fail_initial_download(bool should_fail); | 115 void set_fail_initial_download(bool should_fail); |
115 | 116 |
116 private: | 117 private: |
117 bool fail_initial_download_; | 118 bool fail_initial_download_; |
118 }; | 119 }; |
119 | 120 |
120 } // namespace syncer | 121 } // namespace syncer |
121 | 122 |
122 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_MOCK_H_ | 123 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_MOCK_H_ |
OLD | NEW |