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

Issue 11414013: Depend on stored sync session GUID for Android. (Closed)

Created:
8 years, 1 month ago by nyquist
Modified:
8 years ago
Reviewers:
Nicolas Zea
CC:
chromium-reviews, Raghu Simha, haitaol1, akalin, tim (not reviewing), Yaron
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Depend on stored sync session GUID for Android. This changes the Android port of Chrome to depend on the pref kSyncSessionsGUID to be set before the SessionModelAssociator is initialized. We now also force-removes any foreign sessions that are using the current client's GUID as a session tag. This also lead to the removal of the Android specific session utils. BUG=157419 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171109

Patch Set 1 #

Total comments: 6

Patch Set 2 : rebased. addressed comments. #

Patch Set 3 : Simplified implementation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -116 lines) Patch
M chrome/browser/sync/glue/session_model_associator.cc View 1 4 chunks +19 lines, -15 lines 0 comments Download
M sync/sync.gyp View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M sync/util/get_session_name.cc View 2 chunks +4 lines, -2 lines 0 comments Download
D sync/util/session_utils_android.h View 1 chunk +0 lines, -22 lines 0 comments Download
D sync/util/session_utils_android.cc View 1 chunk +0 lines, -75 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
nyquist
zea: PTAL
8 years, 1 month ago (2012-11-15 19:33:54 UTC) #1
Nicolas Zea
https://codereview.chromium.org/11414013/diff/1/chrome/browser/sync/glue/session_model_associator.cc File chrome/browser/sync/glue/session_model_associator.cc (right): https://codereview.chromium.org/11414013/diff/1/chrome/browser/sync/glue/session_model_associator.cc#newcode645 chrome/browser/sync/glue/session_model_associator.cc:645: std::string persisted_machine_tag; I don't think you need this variable, ...
8 years, 1 month ago (2012-11-16 18:55:20 UTC) #2
nyquist
zea: PTAL https://codereview.chromium.org/11414013/diff/1/chrome/browser/sync/glue/session_model_associator.cc File chrome/browser/sync/glue/session_model_associator.cc (right): https://codereview.chromium.org/11414013/diff/1/chrome/browser/sync/glue/session_model_associator.cc#newcode645 chrome/browser/sync/glue/session_model_associator.cc:645: std::string persisted_machine_tag; On 2012/11/16 18:55:20, Nicolas Zea ...
8 years ago (2012-12-04 01:55:05 UTC) #3
Nicolas Zea
lgtm
8 years ago (2012-12-04 18:14:31 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/11414013/5001
8 years ago (2012-12-04 21:00:28 UTC) #5
commit-bot: I haz the power
8 years ago (2012-12-05 01:15:23 UTC) #6
Message was sent while issue was closed.
Change committed as 171109

Powered by Google App Engine
This is Rietveld 408576698