diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-02-13 15:05:36 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-02-14 10:33:47 +0000 |
commit | e684a3455bcc29a6e3e66a004e352dea4e1141e7 (patch) | |
tree | d55b4003bde34d7d05f558f02cfd82b2a66a7aac /chromium/components/sync_bookmarks/bookmark_model_type_processor.h | |
parent | 2b94bfe47ccb6c08047959d1c26e392919550e86 (diff) | |
download | qtwebengine-chromium-e684a3455bcc29a6e3e66a004e352dea4e1141e7.tar.gz |
BASELINE: Update Chromium to 72.0.3626.110 and Ninja to 1.9.0
Change-Id: Ic57220b00ecc929a893c91f5cc552f5d3e99e922
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/components/sync_bookmarks/bookmark_model_type_processor.h')
-rw-r--r-- | chromium/components/sync_bookmarks/bookmark_model_type_processor.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chromium/components/sync_bookmarks/bookmark_model_type_processor.h b/chromium/components/sync_bookmarks/bookmark_model_type_processor.h index 66adbbabaa9..2e1f2699bc7 100644 --- a/chromium/components/sync_bookmarks/bookmark_model_type_processor.h +++ b/chromium/components/sync_bookmarks/bookmark_model_type_processor.h @@ -63,7 +63,7 @@ class BookmarkModelTypeProcessor : public syncer::ModelTypeProcessor, // restored via ModelReadyToSync() below. std::string EncodeSyncMetadata() const; - // It mainly decodes a BookmarkModelMetadata proto seralized in + // It mainly decodes a BookmarkModelMetadata proto serialized in // |metadata_str|, and uses it to fill in the tracker and the model type state // objects. |model| must not be null and must outlive this object. It is used // to the retrieve the local node ids, and is stored in the processor to be @@ -97,6 +97,9 @@ class BookmarkModelTypeProcessor : public syncer::ModelTypeProcessor, // entities. void NudgeForCommitIfNeeded(); + // Performs the required clean up when bookmark model is being deleted. + void OnBookmarkModelBeingDeleted(); + // Instantiates the required objects to track metadata and starts observing // changes from the bookmark model. void StartTrackingMetadata( |