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 <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 const GURL& sync_service_url() const override; | 76 const GURL& sync_service_url() const override; |
77 std::string unrecoverable_error_message() const override; | 77 std::string unrecoverable_error_message() const override; |
78 tracked_objects::Location unrecoverable_error_location() const override; | 78 tracked_objects::Location unrecoverable_error_location() const override; |
79 void AddProtocolEventObserver(ProtocolEventObserver* observer) override; | 79 void AddProtocolEventObserver(ProtocolEventObserver* observer) override; |
80 void RemoveProtocolEventObserver(ProtocolEventObserver* observer) override; | 80 void RemoveProtocolEventObserver(ProtocolEventObserver* observer) override; |
81 void AddTypeDebugInfoObserver(TypeDebugInfoObserver* observer) override; | 81 void AddTypeDebugInfoObserver(TypeDebugInfoObserver* observer) override; |
82 void RemoveTypeDebugInfoObserver(TypeDebugInfoObserver* observer) override; | 82 void RemoveTypeDebugInfoObserver(TypeDebugInfoObserver* observer) override; |
83 base::WeakPtr<JsController> GetJsController() override; | 83 base::WeakPtr<JsController> GetJsController() override; |
84 void GetAllNodes(const base::Callback<void(std::unique_ptr<base::ListValue>)>& | 84 void GetAllNodes(const base::Callback<void(std::unique_ptr<base::ListValue>)>& |
85 callback) override; | 85 callback) override; |
| 86 SigninManagerBase* signin() const override; |
86 | 87 |
87 // DataTypeEncryptionHandler: | 88 // DataTypeEncryptionHandler: |
88 bool IsPassphraseRequired() const override; | 89 bool IsPassphraseRequired() const override; |
89 ModelTypeSet GetEncryptedDataTypes() const override; | 90 ModelTypeSet GetEncryptedDataTypes() const override; |
90 | 91 |
91 GoogleServiceAuthError error_; | 92 GoogleServiceAuthError error_; |
92 GURL sync_service_url_; | 93 GURL sync_service_url_; |
93 std::string unrecoverable_error_message_; | 94 std::string unrecoverable_error_message_; |
94 std::unique_ptr<UserShare> user_share_; | 95 std::unique_ptr<UserShare> user_share_; |
95 }; | 96 }; |
96 | 97 |
97 } // namespace syncer | 98 } // namespace syncer |
98 | 99 |
99 #endif // COMPONENTS_SYNC_DRIVER_FAKE_SYNC_SERVICE_H_ | 100 #endif // COMPONENTS_SYNC_DRIVER_FAKE_SYNC_SERVICE_H_ |
OLD | NEW |