OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_FAKE_SYNC_SERVICE_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_FAKE_SYNC_SERVICE_H_ |
6 #define COMPONENTS_SYNC_DRIVER_FAKE_SYNC_SERVICE_H_ | 6 #define COMPONENTS_SYNC_DRIVER_FAKE_SYNC_SERVICE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "components/sync/driver/sync_service.h" |
10 #include "components/sync/sessions/sync_session_snapshot.h" | 11 #include "components/sync/sessions/sync_session_snapshot.h" |
11 #include "components/sync_driver/sync_service.h" | |
12 #include "google_apis/gaia/google_service_auth_error.h" | 12 #include "google_apis/gaia/google_service_auth_error.h" |
13 | 13 |
14 namespace syncer { | 14 namespace syncer { |
15 class BaseTransaction; | 15 class BaseTransaction; |
16 struct UserShare; | 16 struct UserShare; |
17 } | 17 } |
18 | 18 |
19 namespace sync_driver { | 19 namespace sync_driver { |
20 | 20 |
21 // Fake implementation of sync_driver::SyncService, used for testing. | 21 // Fake implementation of sync_driver::SyncService, used for testing. |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 | 96 |
97 GoogleServiceAuthError error_; | 97 GoogleServiceAuthError error_; |
98 GURL sync_service_url_; | 98 GURL sync_service_url_; |
99 std::string unrecoverable_error_message_; | 99 std::string unrecoverable_error_message_; |
100 std::unique_ptr<syncer::UserShare> user_share_; | 100 std::unique_ptr<syncer::UserShare> user_share_; |
101 }; | 101 }; |
102 | 102 |
103 } // namespace sync_driver | 103 } // namespace sync_driver |
104 | 104 |
105 #endif // COMPONENTS_SYNC_DRIVER_FAKE_SYNC_SERVICE_H_ | 105 #endif // COMPONENTS_SYNC_DRIVER_FAKE_SYNC_SERVICE_H_ |
OLD | NEW |