Handle server profile/card disappearing while launching editor.

Sync can remove the server card or server profile while launching the
card/profile editor. This patch checks whether the data is still
available. If sync deleted the data, then the user sees the refreshed
list of cards and profiles.

Local profiles are not affected by this change. Editing a non-existent
profile is how you can create a new local profile.

Local cards are not affected by this change either. Editing a
non-existent card is how you can create a new local card. Also, local
cards are not synced.

BUG=560467

Review URL: https://codereview.chromium.org/1483063003

Cr-Commit-Position: refs/heads/master@{#362255}
2 files changed