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

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

Issue 2898723003: [Sync] Migrate SyncInternalsMessageHandler off CallJavascriptFunctionUnsafe. (Closed)
Patch Set: More updates for dbeam. Created 3 years, 6 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « components/sync/driver/about_sync_util_unittest.cc ('k') | components/sync/driver/fake_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698