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

Unified Diff: components/sync_driver/local_device_info_provider_impl.h

Issue 1951703002: [Sync] Clear LocalDeviceInfoProvider cache on sync DB destruction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: components/sync_driver/local_device_info_provider_impl.h
diff --git a/components/sync_driver/local_device_info_provider_impl.h b/components/sync_driver/local_device_info_provider_impl.h
index 29dc715228add1d0c8db55c0d91854365ebb523c..ea984bcc73a54be67f0817525e58c17f9891bfa7 100644
--- a/components/sync_driver/local_device_info_provider_impl.h
+++ b/components/sync_driver/local_device_info_provider_impl.h
@@ -31,6 +31,7 @@ class LocalDeviceInfoProviderImpl
const scoped_refptr<base::TaskRunner>& blocking_task_runner) override;
std::unique_ptr<Subscription> RegisterOnInitializedCallback(
const base::Closure& callback) override;
+ void Clear() override;
private:
void InitializeContinuation(const std::string& guid,

Powered by Google App Engine
This is Rietveld 408576698