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 "components/sync_driver/sync_service.h" | 8 #include "components/sync_driver/sync_service.h" |
9 #include "google_apis/gaia/google_service_auth_error.h" | 9 #include "google_apis/gaia/google_service_auth_error.h" |
10 #include "sync/internal_api/public/sessions/sync_session_snapshot.h" | 10 #include "sync/internal_api/public/sessions/sync_session_snapshot.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 std::string unrecoverable_error_message() const override; | 75 std::string unrecoverable_error_message() const override; |
76 tracked_objects::Location unrecoverable_error_location() const override; | 76 tracked_objects::Location unrecoverable_error_location() const override; |
77 | 77 |
78 // DataTypeEncryptionHandler: | 78 // DataTypeEncryptionHandler: |
79 bool IsPassphraseRequired() const override; | 79 bool IsPassphraseRequired() const override; |
80 syncer::ModelTypeSet GetEncryptedDataTypes() const override; | 80 syncer::ModelTypeSet GetEncryptedDataTypes() const override; |
81 | 81 |
82 GoogleServiceAuthError error_; | 82 GoogleServiceAuthError error_; |
83 GURL sync_service_url_; | 83 GURL sync_service_url_; |
84 std::string unrecoverable_error_message_; | 84 std::string unrecoverable_error_message_; |
| 85 scoped_ptr<syncer::UserShare> user_share_; |
85 }; | 86 }; |
86 | 87 |
87 } // namespace sync_driver | 88 } // namespace sync_driver |
88 | 89 |
89 #endif // COMPONENTS_SYNC_DRIVER_FAKE_SYNC_SERVICE_H_ | 90 #endif // COMPONENTS_SYNC_DRIVER_FAKE_SYNC_SERVICE_H_ |
OLD | NEW |