Commit e62da37c authored by Marc Treib's avatar Marc Treib Committed by Commit Bot

Cleanup: Remove ProfileSyncService::GetModelSafeRoutingInfo

It's unused.

Bug: 839834
Change-Id: Ic354b16a5534aab8ce89c036b8a81a2ceeb3ae60
Reviewed-on: https://chromium-review.googlesource.com/1046672Reviewed-by: default avatarMikel Astiz <mastiz@chromium.org>
Commit-Queue: Marc Treib <treib@chromium.org>
Cr-Commit-Position: refs/heads/master@{#556412}
parent 494d9225
...@@ -1725,16 +1725,6 @@ BackendMigrator* ProfileSyncService::GetBackendMigratorForTest() { ...@@ -1725,16 +1725,6 @@ BackendMigrator* ProfileSyncService::GetBackendMigratorForTest() {
return migrator_.get(); return migrator_.get();
} }
void ProfileSyncService::GetModelSafeRoutingInfo(
syncer::ModelSafeRoutingInfo* out) const {
DCHECK(thread_checker_.CalledOnValidThread());
if (engine_ && engine_initialized_) {
engine_->GetModelSafeRoutingInfo(out);
} else {
NOTREACHED();
}
}
std::unique_ptr<base::Value> ProfileSyncService::GetTypeStatusMap() { std::unique_ptr<base::Value> ProfileSyncService::GetTypeStatusMap() {
DCHECK(thread_checker_.CalledOnValidThread()); DCHECK(thread_checker_.CalledOnValidThread());
auto result = std::make_unique<base::ListValue>(); auto result = std::make_unique<base::ListValue>();
......
...@@ -466,9 +466,6 @@ class ProfileSyncService : public syncer::SyncServiceBase, ...@@ -466,9 +466,6 @@ class ProfileSyncService : public syncer::SyncServiceBase,
// Used by tests to inspect the OAuth2 access tokens used by PSS. // Used by tests to inspect the OAuth2 access tokens used by PSS.
std::string GetAccessTokenForTest() const; std::string GetAccessTokenForTest() const;
// TODO(sync): This is only used in tests. Can we remove it?
void GetModelSafeRoutingInfo(syncer::ModelSafeRoutingInfo* out) const;
// SyncPrefObserver implementation. // SyncPrefObserver implementation.
void OnSyncManagedPrefChange(bool is_sync_managed) override; void OnSyncManagedPrefChange(bool is_sync_managed) override;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment