summaryrefslogtreecommitdiffstats
path: root/android_webview
diff options
context:
space:
mode:
authorrlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-06 06:51:36 +0000
committerrlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-06 06:51:36 +0000
commit8925eca81cf7b5f2261e7fa6e933fd5225a73985 (patch)
treef8b74c38b41539a13365c04db63ede034980eda1 /android_webview
parent05315b8f1bc81ea6e3aa0ed187d9485f527bc66a (diff)
downloadchromium_src-8925eca81cf7b5f2261e7fa6e933fd5225a73985.zip
chromium_src-8925eca81cf7b5f2261e7fa6e933fd5225a73985.tar.gz
chromium_src-8925eca81cf7b5f2261e7fa6e933fd5225a73985.tar.bz2
Migrate invalidator client IDs out of sync
We want to store invalidator client IDs somewhere other than the sync DB. Unfortunately, changing in the ID would require us to clear any existing client state, which is something we'd prefer to avoid. This commit makes the SyncInvalidationListener copy its sync-assigned client ID to the InvalidationStateTracker when it is initialized. When we decide to fully separate the sync and notifier IDs, the clients that have run through this code path will find that their notifier client ID has already been initialized correctly. This allows us to avoid clearing their client state. It's impossible to guarantee that all clients will hit this code path. Fortunately, we don't have to. The goal of this patch is to avoid deleting the state of too many clients all at once. It's not a big problem if we have to clear the state of a few stragglers that haven't hit the migration path yet. BUG=124142 Review URL: https://chromiumcodereview.appspot.com/12094113 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180907 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview')
0 files changed, 0 insertions, 0 deletions