Minor refactor in preperation for Platform App History Sync
This CL prepares the SyncedWindowDelegate enumerator to support multiple sources of SyncedWindowDelegates. It also applies some renamings and refactoring suggested by benwells and stanisc, namely:
- Making the test for whether or not a Window or Tab should be synced a
member of their respective sync delegates.
- Removing redundancy in the names of the static methods which retrieve
all delegates and find a given delegate by id.
Along the way, this CL also cleans up some misplaced const qualifiers.
BUG=439575
R=stanisc@chromium.org, zea@chromium.org, rogerta@chromium.org
Review URL: https://codereview.chromium.org/
866933002
Cr-Commit-Position: refs/heads/master@{#316502}