Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Side by Side Diff: components/sync/driver/fake_sync_service.h

Issue 2958303002: [Sync] Maintain a global_id mapping to update UserEvents that references navigations (Closed)
Patch Set: Rebase Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 SigninManagerBase* signin() const override;
87 GlobalIdMapper* GetGlobalIdMapper() const override;
87 88
88 // DataTypeEncryptionHandler implementation. 89 // DataTypeEncryptionHandler implementation.
89 bool IsPassphraseRequired() const override; 90 bool IsPassphraseRequired() const override;
90 ModelTypeSet GetEncryptedDataTypes() const override; 91 ModelTypeSet GetEncryptedDataTypes() const override;
91 92
92 // KeyedService implementation. 93 // KeyedService implementation.
93 void Shutdown() override; 94 void Shutdown() override;
94 95
95 GoogleServiceAuthError error_; 96 GoogleServiceAuthError error_;
96 GURL sync_service_url_; 97 GURL sync_service_url_;
97 std::string unrecoverable_error_message_; 98 std::string unrecoverable_error_message_;
98 std::unique_ptr<UserShare> user_share_; 99 std::unique_ptr<UserShare> user_share_;
99 }; 100 };
100 101
101 } // namespace syncer 102 } // namespace syncer
102 103
103 #endif // COMPONENTS_SYNC_DRIVER_FAKE_SYNC_SERVICE_H_ 104 #endif // COMPONENTS_SYNC_DRIVER_FAKE_SYNC_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698